(535, b'Login Fail. Please enter your authorization code to login. More information in http://servic

(535, b’Login Fail. Please enter your authorization code to login. More information in http://service.mail.qq.com/cgi-bin/help?subtype=1&&id=28&&no=1001256’)

在django中写邮箱验证的时候
一直报登录失败,请输入授权码登录。用的qq邮箱,16位。

EMAIL_HOST_PASSWORD = 'fopo foek pfvd eopk'

然后就是不对
原来中间不允许加空格
应为:

EMAIL_HOST_PASSWORD = 'fopofoekpfvdeopk'

你可能感兴趣的:(python,django)