michael-milette / moodle-local_mailtest

Moodle MailTest allows administrators to test Moodle's email system. A trace of the SMTP dialogue will be displayed if the email message cannot be sent for any reason. For premium support, contact us at https://www.tngconsulting.ca/contact
https://moodle.org/plugins/local_mailtest
GNU General Public License v3.0
19 stars 12 forks source link

eMail Test working but Cron task not sending Forum mails #21

Closed PauloCorreiaPaiva closed 1 year ago

PauloCorreiaPaiva commented 4 years ago

eMail Test is working fine. But Forum emails are not being sent. Cron task runs, but emails are just queued and not send. Does eMail Test covers mod_forum\task\cron_task or is it another mailing procedure?

Thank you

Note: Moodle 3.7.1+ (Build: 20190801)

michael-milette commented 1 year ago

Hi @PauloCorreiaPaiva ,

eMail Test users the same Moodle API as the mod_forum except that emails sent out from mod_forum's cron_task include the following additional headers when sending out bulk emails:

        "Precedence: Bulk"
        'X-Auto-Response-Suppress: All'
        'Auto-Submitted: auto-generated'

Best regards,

Michael