Moodle 3.8.2设置SMTP问题
问题描述:申请腾讯的企业邮箱,一切配置OK,单独写测试单元,通过send测试。但是moodle就是无法发送成功。配置如下:注意红框部分,按道理对于发送邮件是无关的。但是查看实时日志发现:
Failed to send an email from the user with id ‘2’ to the user with id
‘-99’ due to the following error: “The following From address failed:
[email protected] : MAIL FROM command failed,mail from address
must be same as authorization user ,501,SMTP server error: MAIL FROM
command failed Detail: mail from address must be same as authorization
user SMTP code: 501SMTP server error: MAIL FROM command failed Detail:
mail from address must be same as authorization user SMTP code: 501”.
转发的邮箱居然是“[email protected]”???