我没有成功让 Forums Moodle 模块发送邮件以获取帖子通知。虽然邮件发送在 Moodle 平台上可以正常工作,但在论坛模块中它不起作用。我从浏览器中执行了 cron.php,我得到了:
Starting activity modules
Processing module function assignment_cron ...done.
Processing module function chat_cron ...done.
Processing module function forum_cron ...Processing user 3
Sending ERROR: SMTP Error: Data not accepted.
Error: mod/forum/cron.php: Could not send out mail for id 13 to user 3 (test.test@test.org) .. not trying again.
post 13: Re: test4
Sending ERROR: SMTP Error: Data not accepted.
Error: mod/forum/cron.php: Could not send out mail for id 14 to user 3 (test.test@test.org) .. not trying again.
post 14: Re: test4
Processing user 4
Sending ERROR: SMTP Error: Data not accepted.
Error: mod/forum/cron.php: Could not send out mail for id 13 to user 4 (test.test@test.org) .. not trying again.
post 13: Re: test4
Sending ERROR: SMTP Error: Data not accepted.
Error: mod/forum/cron.php: Could not send out mail for id 14 to user 4 (test.test@test.org) .. not trying again.
post 14: Re: test4
....
post 19: Re: teacher topic
0 users were sent post 13, 'Re: test4'
0 users were sent post 14, 'Re: test4'
0 users were sent post 15, 'new topic test'
0 users were sent post 16, 'Re: new topic test'
0 users were sent post 17, 'Re: new topic test'
0 users were sent post 18, 'teacher topic'
0 users were sent post 19, 'Re: teacher topic'
Starting digest processing...
Cleaned old digest records
done.