title: Rails 3: SMTP Settings for Google Apps / Heroku
body: <p>Here are my smtp settings for Google Apps in setup_mail.rb.</p>
  
  <pre><code>  :address              =&gt; "smtp.gmail.com",  
    :port                 =&gt; 587,                 
    :domain               =&gt; 'mysite.co',  
    :user_name            =&gt; 'noreply@mysite.co',      
    :password             =&gt; 'password',      
    :authentication       =&gt; 'plain',             
    :enable_starttls_auto =&gt; true
  </code></pre>
  
  <p>My development logs show in detail the e-mails being generated and sent to the right e-mail address... but they are not arriving. I can only think that there must be something wrong with the settings above. Can you see what the problem is?</p>
  
  <p>Once this is solved, would I have any issue getting it to work on Heroku?</p>
  
  <hr>
  
  <p>Note: the above is logging a deprecation warning:  </p>
  
  <pre><code>DEPRECATION WARNING: Giving a hash to body is deprecated, please use instance va
  riables instead. (called from process at C:/Sanj/Ruby192/lib/ruby/gems/1.9.1/gem
  s/actionmailer-3.0.0/lib/action_mailer/old_api.rb:77)
  </code></pre>