<?xml version="1.0" encoding="UTF-8"?>
<post>
  <body>&lt;p&gt;&lt;img style="float: left;padding-right:10px;padding-bottom:10px" src="http://s3.amazonaws.com/brentmc79-prod/files/2/medium.jpg?1238984431" alt="google-apps-logo.jpg" width="200" height="130" /&gt;Want to use Gmail, or a Google Apps account, with your Rails app?&amp;nbsp; Well, it's gotten even easier than before.&lt;/p&gt;
&lt;p&gt;The last time I set up and app to use Gmail's smtp, I had to use a plugin called &lt;a href="http://github.com/openrain/action_mailer_tls/tree/v1.1.2" target="_blank"&gt;ActionMailerTLS&lt;/a&gt;.&amp;nbsp; Well, not any more.&amp;nbsp; Ever since Rails 2.2.2, the tls functionality is built right in, but there's a catch.&lt;/p&gt;
&lt;p&gt;While setting up notifications for this app, it took me a few minutes to realize what the problem was.&amp;nbsp; This app is running on Rails 2.2.2, but the emails were not being sent out.&amp;nbsp; WTF?&amp;nbsp; I went back through all of the write-ups I had and seen and finally caught it.&lt;/p&gt;
&lt;p&gt;It only works if you're running Ruby version 1.8.7, not 1.8.6.&lt;/p&gt;
&lt;p&gt;Fortunately my Dreamhost shared hosting already had 1.8.7 installed, so notifications are working perfectly.&amp;nbsp; So leave me a comment, and I'll be notified!&lt;/p&gt;</body>
  <created-at type="datetime">2009-04-06T02:52:45Z</created-at>
  <description>[img:http://s3.amazonaws.com/brentmc79-prod/files/2/medium.jpg?1238984431]Want to use Gmail, or a Google Apps account, with your Rails app?? Well, it's</description>
  <id type="integer">2</id>
  <keywords></keywords>
  <published type="boolean">true</published>
  <slug>yet-another-rails-gmail-post</slug>
  <title>YARGP - Yet another Rails Gmail post</title>
  <updated-at type="datetime">2009-05-04T04:06:16Z</updated-at>
</post>
