Odoo邮箱设置失败,SMT440错误,怎么解决?
-
未知错误: 邮件发送失败 通过SMTP发送邮件失败 'None'. SMTPSenderRefused: 440 mail from account doesn't conform with authentication
我用的是个人邮箱,个人邮箱无法配置么?我代码也修改了# smtp_from = from_rfc2822[-1] smtp_from = self._get_default_bounce_address()该报错,还是报错,smtp.qq.com,和smtp.aliyun.com都测通了,实际却无法使用.求大神帮助,谢谢了.
-
未知错误: 邮件发送失败 通过SMTP发送邮件失败 'None'. SMTPSenderRefused: 440 mail from account doesn't conform with authentication
我用的是个人邮箱,个人邮箱无法配置么?我代码也修改了# smtp_from = from_rfc2822[-1] smtp_from = self._get_default_bounce_address()该报错,还是报错,smtp.qq.com,和smtp.aliyun.com都测通了,实际却无法使用.求大神帮助,谢谢了.
-
这是因为国内的公共免费的SMTP服务器不允许 邮件转发(Mail Relay)。也就是服务器认证用户,和发送邮件的From必须是一致。
你虽然改代码固定成bounce_address了,接下来还要把bounce_address的邮箱地址设置成跟SMTP认账的邮件账号一致。
如果消息通知的邮件比较多,用这种SMTP服务器也是不合适,会有每日邮件发送数量的限制的。 -
安装模块解决此问题。
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login