Django的密码发信人是'webmaster@localhost', 参见官方文档settings.py
在使用Django.contrib.auth.views时会出现发信人与认证用户名不匹配,报553错误.
解决办法:
修改django默认发信人,在project的settings.py中添加
DEFAULT_FROM_EMAIL?
Default: 'webmaster@localhost'
Default email address to use for various automated correspondence from the site manager(s). This doesn’t include error messages sent to ADMINS and MANAGERS; for that, see SERVER_EMAIL.
在使用Django.contrib.auth.views时会出现发信人与认证用户名不匹配,报553错误.
解决办法:
修改django默认发信人,在project的settings.py中添加