Pony 是否支持 GMail 的 SSL/TLS(是!)

发布于 2024-08-02 12:03:21 字数 283 浏览 4 评论 0原文

Pony gem 支持 SSL/TLS 电子邮件吗?我正在尝试(轻松地)使用 Heroku 上的 Google Apps 发送电子邮件。

谢谢!

经过几个步骤后,我找到了适合我的解决方案组合: http ://417east.com/thoughts/2009/austin/heroku-gmail-sinatra

Does the Pony gem support e-mail with SSL/TLS? I'm trying to (easily) send e-mail with Google Apps on Heroku.

Thanks!

After jumping through several hoops, I found a combination of solutions that worked for me: http://417east.com/thoughts/2009/austin/heroku-gmail-sinatra.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

笑饮青盏花 2024-08-09 12:03:21

所有 ruby​​ 邮件库都基于标准类 Net::SMTP,它仅支持 3 种类型的身份验证(PLAIN、LOGIN 和 CRAM MD5)。因此,他们不支持 SSL 连接。

但是 Sockets 和 SSL 库有一些 hack。查看这些链接:

All ruby mailing libs are based on standard class Net::SMTP which supports only 3 types of authentication (PLAIN, LOGIN and CRAM MD5). So, they`re not supporting SSL connections.

But there are some hacks with Sockets and SSL library. Check out these links:

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文