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

SMTP能否增加SSL支持? #1409

Open
5 tasks done
jordanfung opened this issue May 4, 2024 · 3 comments
Open
5 tasks done

SMTP能否增加SSL支持? #1409

jordanfung opened this issue May 4, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@jordanfung
Copy link

例行检查

  • 我已确认目前没有类似 issue
  • 我已确认我已升级到最新版本
  • 我已完整查看过项目 README,已确定现有版本无法满足需求
  • 我理解并愿意跟进此 issue,协助测试和提供反馈
  • 我理解并认可上述内容,并理解项目维护者精力有限,不遵循规则的 issue 可能会被无视或直接关闭

功能描述

发邮件的SMTP协议支持明文、SSL、TLS三种连接方式,本人很不幸遇上只支持SSL的情况(某书企业邮箱),经测试无法正常发送邮件。

看了一下代码,似乎是 net/smtp 库不支持SSL连接(我不熟悉go语言开发,纯粹个人推测,如果谬误请指正)。

希望能增加SMTP的SSL支持,网上搜索了一轮,发现 https://github.com/cmarkh/smtp 这个库支持三种连接方式,供阁下参考。

应用场景

增加SMTP的SSL支持,可以方便接入更广泛的邮件服务供应商。

@jordanfung jordanfung added the enhancement New feature or request label May 4, 2024
@LeoQuote
Copy link

LeoQuote commented May 7, 2024

465 端口会自动开启 tls ,你试试看

@jordanfung
Copy link
Author

465 端口会自动开启 tls ,你试试看

测试过,用的是飞书的smtp服务器465端口,邮件发不出去。。。

@LeoQuote
Copy link

@jordanfung 对当前项目的健康程度比较担心,很多pr issue 没人处理,我pr挂了两个月了,也是和smtp有关的,没人看没人合,大佬你也可以看看别的项目比如liteLLM

对比起来本项目发展太不健康了 https://ossinsight.io/analyze/songquanpeng/one-api

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

No branches or pull requests

2 participants