Pony 是否支持 GMail 的 SSL/TLS(是!)
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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
以下是一个主题链接,您应该可以找到答案 http:// /groups.google.com/group/sinatrarb/browse_thread/thread/97619e0469c29f30?pli=1
Here's a link to a thread that should have your answers http://groups.google.com/group/sinatrarb/browse_thread/thread/97619e0469c29f30?pli=1
所有 ruby 邮件库都基于标准类 Net::SMTP,它仅支持 3 种类型的身份验证(PLAIN、LOGIN 和 CRAM MD5)。因此,他们不支持 SSL 连接。
但是 Sockets 和 SSL 库有一些 hack。查看这些链接:
http://gusortiz.wordpress.com/2009/01/05/sending-mail-smtp-gmail-with-attachment-using-ruby-on-rails-actionmailer/
http://agilewebdevelopment.com/plugins/net_smtp_tls_support
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:
http://gusortiz.wordpress.com/2009/01/05/sending-mail-smtp-gmail-with-attachment-using-ruby-on-rails-actionmailer/
http://agilewebdevelopment.com/plugins/net_smtp_tls_support