title: Nodemailer getaddrinfo ENOTFOUND Error
body: <p>Looking for some insight into this error I'm getting.</p>
  
  <blockquote>
    <p>on smtpTransport.sendmail(func(err, info){})</p>
  </blockquote>
  
  <p>The err variable returns this:</p>
  
  <pre><code>Error: getaddrinfo ENOTFOUND smtp.gmail.com smtp.gmail.com:465
         at errnoException (dns.js:50:10)
         at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:92:26)
  </code></pre>
  
  <p>and my code is:</p>
  
  <pre><code>var smtpTransport = nodemailer.createTransport({
                  service: 'Gmail',
                  auth: {
                      user: 'xxx@gmail.com',
                      pass: 'xxx'
                  }
              });
              var mailOptions = {
                  to: user.email,
                  from: 'xxx@gmail.com',
                  subject: 'Node.js Password Reset',
                  text: ' '
              };
              smtpTransport.sendMail(mailOptions, function(err) {
              });
          }
      ], function(err) {
      });
  </code></pre>