Forum Not Sending Email on Fresh Install

Forum Not Sending Email on Fresh Install

by Kevin Hickey -
Number of replies: 5

Help, please...

Forums not sending emails on Fresh Moodle Install.

Moodle 3.1.4+ (20170112)

Email through PHP

Email working as tested through eMail Test Plugin

New User emails going out fine. 

Cron is working and set in cPanel as: 


*/15****curl https://buddhistministry.org/moodle/admin/cron.php Edit     Delete
*/19****curl https://buddhistministry.org/moodle/admin/cron.php? Edit     Delete
*****wget -q -O /dev/null https://buddhistministry.org/moodle/admin/cron.php


Server Time: Sun, 15 Jan 2017 14:50:17 -0500

Cron script completed correctly
Cron completed at 14:50:17. Memory used 22.9MB.
Execution took 0.027596 seconds

Execute scheduled task: Forum mailings and maintenance jobs (mod_forum\task\cron_task) 

... started 14:45:03. Current memory use 26.3MB. 

Starting digest processing... 

Cleaned old digest records 

... used 5 dbqueries 

... used 0.095381021499634 seconds 

Scheduled task complete: Forum mailings and maintenance jobs (mod_forum\task\cron_task) 

Cron script completed correctly 

Cron completed at 14:45:04. Memory used 33.5MB. 


I've made multiple posts in multipe different forums (visiblity on), no warnings in notifications, debuggin on, caches purged...

Forum Scheduled Tasks set. 

Forum mailings and maintenance jobs\mod_forum\task\cron_taskForumEdit task schedule: Forum mailings and maintenance jobsSunday, 15 January 2017, 2:53 PMSunday, 15 January 2017, 2:54 PM*****0No

Not sure what I'm missing... any help greatly appreciated. 

Thanks,

-Kevin

Average of ratings: -
In reply to Kevin Hickey

Re: Forum Not Sending Email on Fresh Install

by Kevin Hickey -

Any clues here?

Really appreciate any help.

Thanks!

In reply to Kevin Hickey

Re: Forum Not Sending Email on Fresh Install

by sandeep baghel -

Hello Kevin,


Are you using forced subscription method for sending notifications of Forum?


Second thing, have you written your own php script for sending emails or using Moodle mailing objects?



I will highly appreciate if you can give a detailed information about the settings you are doing. So that, I can provide you better approach for fixing this.

In reply to sandeep baghel

Re: Forum Not Sending Email on Fresh Install

by Kevin Hickey -

Thanks for your help Sandeep,

I've tried testing all different subscription modes, Forced, Automatic, and Optional, and tried them across different forums and courses. None work. 

I have not written my own script, now using the Moodle default PHP configuration. 

Thanks again for any insights and advice!

In reply to Kevin Hickey

Re: Forum Not Sending Email on Fresh Install

by Kevin Hickey -

Still stuck with this problem. 

Any suggestions Sandeep or other Moodle friends?

Thanks so much!

In reply to Kevin Hickey

Re: Forum Not Sending Email on Fresh Install

by Andrew Lyons -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Hi Kevin,

I'm pretty certain that this is an issue specific to your configuration. I test forum e-mailing pretty frequently on fresh installs (at least once per week) and haven't seen any issues.

The general culprits tend to be:

  • forum is hidden from users
  • users are not enrolled in the course
  • users are not subscribed to for the forum and/or post
  • users have disabled forum notifications
  • you have not waited until the post timeout has expired (default 30 minutes unless you modify it, or click the "Mail now" checkbox)

Can you please confirm that you have checked each of these?

Andrew