seafile增加邮件服务功能

这个很简单哈,直接上配置。此处我用的163邮箱

vim /opt/seafile/conf/seahub_settings.py

### 163邮箱配置测试 ###
EMAIL_USE_SSL = False
EMAIL_HOST = 'smtp.163.com'
EMAIL_HOST_USER = '账户@163.com'
EMAIL_HOST_PASSWORD = '授权码'
EMAIL_PORT = '25'
DEFAULT_FROM_EMAIL = EMAIL_HOST_USER
SERVER_EMAIL = EMAIL_HOST_USER

 

posted @ 2018-12-29 13:49  恶灵酒  阅读(2157)  评论(1编辑  收藏  举报