按照示例来的,也填写了授权码,仍然无法发出。
日志:
2017-03-14 22:56:21,117 [ERROR] seahub.views.sysadmin:933 user_reset (535, ‘Error: \xc7\xeb\xca\xb9\xd3\xc3\xca\xda\xc8\xa8\xc2\xeb\xb5\xc7\xc2\xbc\xa1\xa3\xcf\xea\xc7\xe9\xc7\xeb\xbf\xb4: http://service.mail.qq.com/cgi-bin/help?subtype=1&&id=28&&no=1001256’)
2017-03-14 23:05:44,717 [INFO] root:292 runwsgiserver starting server with options:
实例:
QQ 邮箱示例 (只能在没有使用 TLS 的情况下配置成功,不安全):
EMAIL_USE_TLS = False
EMAIL_HOST = ‘smtp.exmail.qq.com’
EMAIL_HOST_USER = ‘username@domain.com’
EMAIL_HOST_PASSWORD = ‘password’
EMAIL_PORT = ‘25’
DEFAULT_FROM_EMAIL = EMAIL_HOST_USER
SERVER_EMAIL = EMAIL_HOST_USER
有人配置成功了给个例子吧,谢谢:)