title: Node js email Invalid sender
body: <p>Config : Ubuntu 16.04 LTS / Nginx</p>
  
  <p>I'm trying to send mail with nodemail but I have this error :</p>
  
  <pre><code>{ [Error: Invalid sender "contact@example.com&gt;"] code: 'EENVELOPE', command: 'API' }
  </code></pre>
  
  <p>Here is my code.</p>
  
  <pre><code>    var transporter = nodemailer.createTransport(
          smtpTransport('smtps://contact%40example.com:mypassword@smtp.example.com')
      );
  
      var text = 'Hello world from \n\n' + req.body.name;
  
      var mailOptions = {
          from: 'contact@example.com&gt;', // sender address
          to: 'address@gmail.com', // list of receivers
          subject: 'Email Example', // Subject line
          text: text //, // plaintext body
          // html: '&lt;b&gt;Hello world ✔&lt;/b&gt;' // You can choose to send an HTML body instead
      };
  
      transporter.sendMail(mailOptions, function(error, info){
          if(error){
              console.log(error);
              res.json({yo: 'error'});
          }else{
              console.log('Message sent: ' + info.response);
              res.json({yo: info.response});
          };
      });
  </code></pre>
  
  <p>With postfix on my server my mail works well I can send an email to an gmail address but with node js I have this error.</p>