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

[feature-request] SMTP增加StartTLS 587加密协议 #3

Open
oldking139 opened this issue Jan 10, 2023 · 0 comments
Open

[feature-request] SMTP增加StartTLS 587加密协议 #3

oldking139 opened this issue Jan 10, 2023 · 0 comments

Comments

@oldking139
Copy link

Env info:
闲蛋版本:2.1.9
环境:docker

后台的“通知设置”里面尝试设置smtp发信时,发现目前仅提供了SSL开/关的选项(对应SSL 465/plain http 25),并没有针对STARTTLS(对应TLS 587)选项。
尝试直接将SSL选项设定为关闭(直接使用plain http 25),但使用STARTTLS服务的发信系统直接报错:

邮件发送失败!com.sun.mail.smtp.SMTPSendFailedException: 451 5.7.3 STARTTLS is required to send mail [SG2PR04CA0205.apcprd04.prod.outlook.com]

看来outlook的smtp强制要求使用STARTTLS 587进行发信。

我可以确保该smtp发件账号没有问题。其他相关业务系统提供了STARTTLS 587能够正常使用该邮箱发信。看起来不是邮箱的本身认证的问题。

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

1 participant