title: Send email in Node.js with nodemailer
body: <p>My target is to be able to send email without setting credentials. For this purpose I've picked up the <a href="https://github.com/andris9/Nodemailer" rel="nofollow">nodemailer</a> module. Here is my code:</p>
  
  <pre><code>var nodemailer = require('nodemailer');
  var message = {
    from: "test@gmail.com",
    to: "test1@gmail.com",
    subject: "Hello ✔",
    text: "Hello world ✔",
    html: "&lt;b&gt;Hello world ✔&lt;/b&gt;"
  };
  nodemailer.mail(message);
  </code></pre>
  
  <p>According to documentation the "direct" transport method should be used (actually I don't know nothing about transport methods at all). But unfortunately this method is absolutely unstable - sometimes it works sometimes it doesn't.
  Could anyone shed some light on it? How can I send email without configuring SMTP transport credentials?</p>