title: gmail smtp with rails 3
body: <p>I am trying to get a confirmation email sending using a gmail account. I have looked around and there is nothing that is obvious. There is no errors or anything, it just dosn't send</p>
  
  <p>I have this as the initalizer:</p>
  
  <pre><code>ActionMailer::Base.delivery_method = :smtp
  ActionMailer::Base.perform_deliveries = true
  ActionMailer::Base.raise_delivery_errors = true
  
  
  ActionMailer::Base.smtp_settings = {
    :address              =&gt; "smtp.gmail.com",
    :port                 =&gt; 587,
    :domain               =&gt; "gmail.com",
    :user_name            =&gt; "&lt;address&gt;@gmail.com",
    :password             =&gt; "&lt;password&gt;",
    :authentication       =&gt; "plain",
    :enable_starttls_auto =&gt; true
  }
  
  ActionMailer::Base.default_url_options[:host] = "localhost:3000"
  </code></pre>