Django的密码发信人是'[email protected]', 参见官方文档settings.py

DEFAULT_FROM_EMAIL?

Default: '[email protected]'

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中添加

解决Django Mail from must equal authorized user', '[email protected]

相关文章:

  • 2021-04-27
  • 2022-12-23
  • 2021-12-09
  • 2021-11-05
  • 2021-11-12
  • 2021-08-26
  • 2021-08-21
  • 2021-07-21
猜你喜欢
  • 2022-12-23
  • 2021-08-31
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-31
相关资源
相似解决方案