请问能配置qq邮箱发送提醒么


#1

按照示例来的,也填写了授权码,仍然无法发出。

日志:
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

有人配置成功了给个例子吧,谢谢:)


#2

格式都没错,成不成功和邮箱自身有关系,我用163邮箱没问题

EMAIL_USE_TLS = False
EMAIL_HOST = ‘smtp.163.com
EMAIL_HOST_USER = ‘username@163.com’
EMAIL_HOST_PASSWORD = ‘password’
EMAIL_PORT = ‘25’
DEFAULT_FROM_EMAIL = EMAIL_HOST_USER
SERVER_EMAIL = EMAIL_HOST_USER

上面只需要替换正常的邮箱账号和密码即可,希望能帮到你


#3

我用qq邮箱设置成功。qq邮箱里要先启用POP3/SMTP服务 ,同时由于是用第三方收发邮件,需要设置一个授权码。
seafile配置如下:
EMAIL_USE_TLS = True
EMAIL_HOST = ‘smtp.qq.com
EMAIL_HOST_USER = ‘*****你的qq号@qq.com’
EMAIL_HOST_PASSWORD = ‘****qq邮箱的授权码’
EMAIL_PORT = ‘25’
DEFAULT_FROM_EMAIL = EMAIL_HOST_USER
SERVER_EMAIL = EMAIL_HOST_USER


Windows Server端的邮件设置问题
#4

谢谢上面的各位,已经解决!