title: Sending email from local host with Nodemailer
body: <p>I'd like to send mails on my local server but it seems not working with Nodemailer and NodeJS.</p>
  
  <p>Is there any solutions to send mails from local?</p>
  
  <pre><code>    var contact = {subject: 'test', message: "test message", email: 'visitor@gmail.com'};
      var to = "myemail@gmail.com";
      var transporter = nodemailer.createTransport();
      transporter.sendMail({
        from: contact.email,
        to: to,
        subject: contact.subject,
        text: contact.message
      });
  </code></pre>