I may not totally understand the complete process with the forums, but I've got a problem. If the forum has a forced subscription, when posting to the forum, the emails do not work. If I allow subscriptions, the emails are sent out fine. I've confirmed this on 1.9.2 and 1.9.4. On 1.9.1, I can't even get the forum emails to work. Any ideas? Thanks for any help or guidance in th right direction.
We have migrated to Moode 1.9.4 yesterday and I was working yesterday exactly in the same problem. Why Moodle is doing this I don't know, but it is as you mentioned: if you force the subscription of all the participants to a forum, they don't get any notifications emails. If you run the cron manually you will see that non emails are sent.
I am advising tutors to tick the mail now box, in which case the mails are send automatically. If participants are not forced to subscribe to the forum, everytime that the cron is run, the notifications emails are sent.
I need to look into the code in more detail to discover why Moodle is doing this.
Regards
I correct myself: I tried again today after posting my reply and emails notifications are being now generated even if you force everybody to subscribe to the forum.
So, I don't know what may be causing your problem.
Sorry for not being able to give you any light
Regards
Aaricia/Mari
Is your mail server local to the box? We are using gmail and I'm beginning to wonderif that has somethig to do with it. I have no local mailserver on the box.
It's a problem also for me: Forum News doesn't send emails.
Che fare? Qualcuno ha risolto il problema
Any ideas??
Thanks
Karen
I'm experiencing email problems on 1.9.5 with my Site News forum on the front page of the whole site:
- when cron is executed manually, the execution stops at processing user 128 ... i don't think it's the user that's causing issues, because i checked his email and his settings and they seem normal
- other forums within the courses seem to be working fine, whether or not i force subscriptions, so I think the problem is not the forum lib.php or cron.php or a setting for my mail server.
- the default frontpage role is set to student, so technically i don't need to assign everybody manually to the forum, it should be automatic, right?
- automatic password recovery via email is working fine.
Frankly I'm quite tired of this issue, since it's been going on since end of Apr. I have no idea what's causing the problem, I tried to isolate the issue with the above strategies mentioned, and now I really don't know what else to try.
I seem to recall it was working fine when I was running 1.9.3, but from 1.9.4 onwards this issue cropped up. Tried upgrading to 1.9.5 and still the same, sigh!
i'm wondering whether it's possible to delete the Site News, and perhaps restart a fresh one, maybe that could help, but I'm not too sure how to go about doing this. Any ideas?
We were experiencing similar problems with the mail server, which it stoppe working properly after a certain number of messages sent.
The proble,m was caused because the mail server sended an extra 250 recipient OK message, which phpmailer discarted.
The solution is describe here:
http://sourceforge.net/tracker/index.php?func=detail&aid=1343335&group_id=26031&atid=385707
Maybe this gives you a clue of what it may be happening in your case.
Regards
Mari
Hi Mari, thanks for the tip, but it didn't work.
I've managed to delete the Site News forum and sent a test post. Still not working.
I wonder if there is some sort of bug in the forum module. Sigh.
I've determined that it is my Site News forum that is giving problems. Forums within courses are sending out emails just fine, whether or not I force subscriptions.
Running cron manually reveals it hangs at the first "processing user 128" message. When I disable this particular user's email, it simply hangs at the next user (with a different id), and it appears that the forum cron arranges the email addresses in alphabetical order and processes the users in that manner. Disabling the next email addresses simply forces cron to hang at a different user id.
Would appreciate any suggestions. I'm wondering if I should bring this up on Moodle Tracker, but i don't know how to do that. Any suggestions anyone?
My previous assumption appears to be wrong. It appears that it wasn't the Site News or for that matter any other forums that was giving problems. After much testing, I've come to the conclusion that emails with html code, with links or other formatting, which hangs my cron processing. Emails with no html code in the body other than the occasional end paragraph, get sent out just fine.
Any ideas anyone?
Are you using a shared hosting environment ? Do you have a certain email sending limits ?
Regards,
Ulises
Yes it's a shared hosting environment.
If you mean whether the company restricts the number of emails i can send, then no.
When the body of the forum post contains links or other font formatting like bold or strong, then the cron processing hangs at the first user's email (arranged alphabetically).
When the body of the forum post contains plain text, it gets sent out just fine. The email appears in pretty html format, though, with all the nav bar, etc.
Sounds like you are suffering this bug MDL-19266. It has been fixed now in the latest release of 1.9.5. Please upgrade your site to the latest weekly release of 1.9.5 and let us know if it fixes the problem.
Jon
Finally!! It words great now! Thanks Jon!
Incidentally, during the upgrade process, visiting /admin did not trigger the upgrade. But everything looks fine. Is this a cause for concern?
If you visit your admin/index page it will tell you what version of Moodle you are on. Can you post that here?
Moodle 1.9.5+ (Build: 20090610)
It tallies with version.php. So I hope I don't have to worry. So far, so good.
Yes, that's what I thought too. Hope we're right.
Perhaps it's time to upgrade to PHP5. It took awhile before this bug was discovered. Very few people use PHP4? Anyway I'm glad my cron isn't broken now and that all forum posts get sent out. It was very frustrating as I've been experiencing this since late Apr I think.
I am running 1.9.5 with PHP 5 (all hosted at GoDaddy.com), but have the issue forum emails not being sent. Are there other fixes out there? Anyplace for me to get help with this issue?
Thanks in advance!
Any suggestions for a fix would be greatly appreciated!
All is well again
we'r are not getting any email notifications either when posts are made in discussion forums
Have a read of the docs here: http://docs.moodle.org/en/Cron and come back to us if you are still stuck with Cron.
Jon