title: sending mail with nodemailer - email from field incorrect
body: <p>Trying to set up a contact form with nodemailer. Here's what's in my app.js:</p>
  
  <pre><code>// EMail configuration
  var smtpTransport = nodemailer.createTransport("SMTP",{
      service: "Gmail",
      auth: {
          user: "myemailaddress",
          pass: "xxx"
      }
  });
  
  // CONTACT FORM
  app.get('/contact', function (req, res) {
      res.render("contact");
  });
  
  app.post('/contact', function (req, res) {
      var mailOptions = {
          from: req.body.email, // sender address
          to: "myemailaddress", // list of receivers
          subject: req.body.subject, // Subject line
          text: req.body.message, // plaintext body
      }
      smtpTransport.sendMail(mailOptions, function(error, response){
          if(error){
              console.log(error);
          }else{
              console.log("Message sent: " + response.message);
          }
          smtpTransport.close(); // shut down the connection pool, no more messages
      });
      res.render("contact", { success: "building web app" });
  });
  </code></pre>
  
  <p>And my contact.jade template looks like this:</p>
  
  <pre><code>form#contact-form(action="/contact", method="POST")
  div.span5
      p Full name:
          input#name(type="text", name="name")
      p Email address:
          input#email(type="email", name="email")
      p Subject:
          input#subject(type="text", name="subject")
      p Message:
          textarea#message(type="text", name="message", rows="5")
      p: button(type="submit") Send message
  </code></pre>
  
  <p>The email now works, but comes from myemailaddress rather than the one I enter into the email field on the template. Any ideas</p>