且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用SMTP和Gmail在Django上发送电子邮件

更新时间:2022-04-13 07:45:05

密码是您的gmail的登录密码?访问 https://myaccount.google.com/security ,在左侧导航面板中,点击安全性.在登录Google面板中,点击应用密码,以获取密码.它对我有用.

The password is your gmail's login password? Visit https://myaccount.google.com/security, On the left navigation panel, click Security. In Signing in to Google panel, click App passwords, to get a password. It work for me.

如果它不起作用,请检查 Django SMTPAuthenticationError .

If it not work, check Django SMTPAuthenticationError.