title: Emails sent from localhost with nodemailer are not delivered
body: <p>I've set up an email sending like this:</p>
  
  <pre><code>        nodemailer = require("nodemailer");
  ...
              nodemailer.SMTP = {
                  host: 'smtp.gmail.com', // required
                  port: 465, // optional, defaults to 25 or 465
                  domain: 'smtp.gmail.com', // domain used by client to identify itself to server
                  authentication: 'login', // optional, false by default
                  user: '1*******@gmail.com', // used only when use_authentication is true
                  pass: '*******'  // used only when use_authentication is true
              }
  
              // send an e-mail
              nodemailer.send_mail(
                  // e-mail options
                  {
                      sender: '1*******@gmail.com',
                      to:'2*******@gmail.com',
                      subject:'Hello!',
                      html: '&lt;p&gt;&lt;b&gt;Hi,&lt;/b&gt; how are you doing?&lt;/p&gt;',
                      body:'Hi, how are you doing?'
                  },
                  // callback function
                  function(error, success){
                      console.log('Message ' + success ? 'sent' : 'failed');
                  }
  </code></pre>
  
  <p>Callback function logs "sent" but email is never delivered. I followed this tutorial <a href="http://www.thihaz.com/?p=218" rel="nofollow">http://www.thihaz.com/?p=218</a></p>
  
  <p>Do I have to setup smth additionally?</p>