我没有成功使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.
答案 0 :(得分:2)
在moodle 1.9或2.0中,转到“站点管理”►“服务器”►“电子邮件”以检查SMTP设置。
点击本页底部的moodle docs链接,它将带您进入moodle文档,其中讨论了电子邮件设置,特别是SMTP设置。
如果您找不到moodle docs的链接,http://docs.moodle.org/21/en/admin/setting/mail