title: How to send email via smtp with Ruby's mail gem?
body: <p>I am using the <code>mail</code> gem for Ruby <a href="https://github.com/mikel/mail" rel="noreferrer">https://github.com/mikel/mail</a></p>
  
  <p>How do I send an email via an smtp server? How do I specify the address and port? And what settings should I use for Gmail?</p>
  
  <p>The <code>README</code> on github only gives examples sending by a local server.</p>