Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

阿里云服务器,无法发送短信 #121

Open
frameworkOfRoad opened this issue Aug 12, 2021 · 2 comments
Open

阿里云服务器,无法发送短信 #121

frameworkOfRoad opened this issue Aug 12, 2021 · 2 comments

Comments

@frameworkOfRoad
Copy link

frameworkOfRoad commented Aug 12, 2021

配置信息:
EMAIL_HOST="smtp.163.com" # smtp host
EMAIL_PORT="465" # smtp port
FROM_EMAIL="****@163.com" # 发件人
EMAIL_HOST_USER="*****@163.com" # email user, 如为匿名发送,将值设为空字符即可
EMAIL_HOST_PASSWORD="****WDEIEF" # email password, 如为匿名发送,将值设为空字符即可
EMAIL_USE_TLS="True" # 与SMTP服务器通信时是否使用TLS(安全)连接, 可选True/False
EMAIL_USE_SSL="True" # 与SMTP服务器通信时是否使用SSL(安全)连接, 可选True/False

EMAIL_HOST_PASSWORD 填写的是,授权码。

但是目前在阿里云,改成465 也无法发送邮件。

@frameworkOfRoad
Copy link
Author

老师,帮忙看看具体问题,我也在安全组中加入了465端口。

@TuuuNya
Copy link
Member

TuuuNya commented Aug 19, 2021

邮件可以参考Django的邮件发送,用这个文档里面的方法试试,文档里的可以了,Github Monitor照着配置就行

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants