title: Rails 4 mailers with gmail smtp
body: <p>I want to use the Mailer of Rails 4 with the Gmail's smtp configuration
  In my development file i set:</p>
  
  <pre><code>  config.action_mailer.perform_deliveries = true
    config.action_mailer.delivery_method = :smtp
    config.action_mailer.smtp_settings = {
        :address              =&gt; "smtp.gmail.com",
        :port                 =&gt; 587,
        :domain               =&gt; "gmail.com",
        :user_name            =&gt; "mymail@gmail.com",
        :password             =&gt; "mygmailpassword",
        :authentication       =&gt; :plain,
        :enable_starttls_auto =&gt; true
    }
  </code></pre>
  
  <p>but i don't recive any mails.
  This is the output of the terminal:</p>
  
  <pre><code>To: antonioni.giovanni9@gmail.com
  Message-ID: &lt;55ffb56da9e91_aa929362303435c@pc-rails.mail&gt;
  Subject: Conferma ordine
  Mime-Version: 1.0
  Content-Type: multipart/alternative;
   boundary="--==_mimepart_55ffb56da807b_aa92936230342e1";
   charset=UTF-8
  Content-Transfer-Encoding: 7bit
  
  
  ----==_mimepart_55ffb56da807b_aa92936230342e1
  Content-Type: text/plain;
   charset=UTF-8
  Content-Transfer-Encoding: quoted-printable
  </code></pre>
  
  <p>so my application try to send an email but this not appear on my gmail dashboard.
  Any idea for resolve this trouble?</p>