A simple helper library to send email through Gmail or Google Apps via Pony. I put this together because I needed to run it both on Heroku, which uses Ruby 1.8.6, as well as my local development environment running 1.8.7. I also wanted to have a single location to find it next time I need it.
Based on code from the following sources:
- This blog post from James Pozdena
- This Gist from the post above
- The smtp_tls patch for Ruby 1.8.7 from this blog post
Many thanks to the above sources for making this possible, and to Heroku for providing a great platform for running Ruby web applications.