title: ActionMailer and Gmails setup Rails 3.0.1/3.1.0
body: <p>I've been trying to set up ActionMailer with my rails app without success. I have searched several different threads without finding a solution. Is there a gem of some sort that I need to install to prevent my issue?</p>
  
  <p>Here is the issue:</p>
  
  <p><a href="https://gist.github.com/3341261" rel="nofollow noreferrer">https://gist.github.com/3341261</a></p>
  
  <p>==Solution==</p>
  
  <p>So my solution was to go to use tlsmail gem. I followed this thread and the second answer there helped me solve my issue.</p>
  
  <p><a href="https://stackoverflow.com/questions/6379950/gmail-smtp-with-rails-3">gmail smtp with rails 3</a></p>
  
  <p>There is a gotcha when it comes to unicorn. I was using an init.d file to restart my server, however I had to actually stop the server then remove the pid file manually for unicorn. After starting unicorn it worked.</p>