EMAIL_USE_TLS = False
EMAIL_HOST = ‘smtp.qq.com’
EMAIL_HOST_USER = ‘XXXX@qq.com’
EMAIL_HOST_PASSWORD = ‘授权码已填入’
EMAIL_PORT = ‘25’
DEFAULT_FROM_EMAIL = EMAIL_HOST_USER
SERVER_EMAIL = EMAIL_HOST_USER
报错信息:
2017-05-22 10:44:01,295 [ERROR] seahub.views.sysadmin:933 user_reset (530, ‘Error: A secure connection is requiered(such as ssl). More information at http://service.mail.qq.com/cgi-bin/help?id=28’)