views:

298

answers:

2

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.

A: 

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:

Dan Sosedoff
+1  A: 

Here's a link to a thread that should have your answers http://groups.google.com/group/sinatrarb/browse%5Fthread/thread/97619e0469c29f30?pli=1

Benny Wong
Cool, it lead me to Hiroshi's branch.
arbales