title: Can't send mail node mailer
body: <p>I am getting Recipient Error: Can't send mail - no recipient defined error while sending an email using npm node mailer. I am consulting the example as in the documentation. consider abc@gmail.com with my real email.</p>
  
  <pre><code>var emailAddress = "abc@gmail.com";
  mailOptions = {
      from: "Admin &lt;abc@gmail.com&gt;", // sender address
      to: emailAddress, // list of receivers
      subject: "Hello", // Subject line
      text: "hello", // plaintext body
      html: "&lt;b&gt;Hello&lt;/b&gt;" // html body
  }
  
  smtpTransport = nodeMailer.createTransport("SMTP",{
      service: "Gmail",
      auth: {
          user: "abc@gmail.com",
          pass: "123"
      }
  });
  
  smtpTransport.sendMail(mailJson, function(error, response){
      if(error){
          console.log(error);
      }else{
          console.log("Message sent: " + response.message);
      }
  
      // if you don't want to use this transport object anymore, uncomment following line
      smtpTransport.close(); // shut down the connection pool, no more messages
  });
  </code></pre>