Forum emails not being sent

Forum emails not being sent

by Sandy Norton -
Number of replies: 6

I'm having problems getting forum emails sent out after someone has subscribed.  I've noticed that all the email for registration etc. are going out. Just the fourm ones aren't.  Even as Admin I'm not getting any.

In looking under Email everything is blank except the digest hour.  I've made no changes to this.  In the first setting it says

"If you leave it blank, Moodle will use the PHP default method of sending mail."  Which is what I did.

Is there another setting that I'm missing?

I recently had someone else upgrade me to 1.8+.  In looking at the Envirnment section I noticed this:

unicode is required to be installed/enabled. Check

Is this a separate issue and what do I need to do about it?  Maybe I posted this in the wrong place?

Thanks

Sandy

Average of ratings: -
In reply to Sandy Norton

Re: Forum emails not being sent

by David Durr -

Sandy,

Try running http://yoursite.yourdomain.edu/admin/cron.php using your browser.  The output will give you some idea about the nature of your problem.  The output isn't very detailed, but it's helped push me in the right direction several times.

If you like, copy the output and post it.  I'll be glad to look at it and tell you what I can.

In reply to David Durr

Re: Forum emails not being sent

by Sandy Norton -

Thanks...this was interesting.  The minute I ran it, bunches of emails messages that came through and noticed that they all went out at once.   It appears it may be fixed?  Now I'm ure I will get complaints about all the messages being delivered at once.  (Can't win smile )

Is there something I need to do on a regular basis?  I probably need to do some testing to be sure

Thanks...Sandy

In reply to David Durr

Re: Forum emails not being sent

by Sandy Norton -

Well it appear that it sent out all of the backed up emails but now it stopped again.  Actually it sent them all to me but no one else.

I'm having problems putting it here on the forum without the formatting getting messed up.  Any ideas?  Tired an attachment but it's too big.  I feel stupid that I can't even get that done.  blush

Thanks,

Sandy

In reply to Sandy Norton

Re: Forum emails not being sent

by Bill Goffe -
From the browser when I run website.org/moodle/admin/cron.php all my forum e-mails go out. But, when I try it from the command line, as in
/usr/bin/php -f /usr/share/moodle/admin/cron.php
I don't get anything.

Any ideas?

In reply to Bill Goffe

Re: Forum emails not being sent

by Jeff Wood -
Bill,

I had this problem on a new server. I changed the cron (via cpanel) to:

GET http://www.moodlesite.com/courses/admin/cron.php > /dev/null

And site it to run every 15 min, every hour, every day and it seems fine.

Jeff
In reply to Jeff Wood

Re: Forum emails not being sent

by Sandy Norton -

Hi,

I'm still having problems getting email sent from the forums.  I used the line above via my cPanel but it still doens't work.  I tried the line from above:

GET http://www.mydomain.com/courses/admin/cron.php > /dev/null

I also went into moodledocs and found the following:

wget -q -O /dev/null http://www.mydomain.com/moodle/admin/cron/php

I have been able to get either to work for me.

I'm also getting the following errors when clicking on reply

  • line 1676 of lib/accesslib.php: call to debugging()

  • line 1833 of lib/accesslib.php: call to create_context()

  • line 140 of mod/forum/post.php: call to get_context_instance()

I don't know if they are tied together or not, but I could sure use some help.

Thanks,

Sandy