title: Nodemailer not working on Amazon EC2 instance
body: <p>I am EC2 instance up and running , I wanted to integrate nodemailer in my application. Following the <a href="https://www.npmjs.com/package/nodemailer" rel="noreferrer">https://www.npmjs.com/package/nodemailer</a> I was able to send email from my localhost. When the same code I integrated on <code>EC2</code> instance I am getting <code>Invalid login error</code> . Sometime gmail blocks login from other application and send confirm mail to the inbox. I didnt get any such mail also. Do I need to enable some port on <code>EC2</code> instance or I can use <code>nodemailer</code> at all on EC2 instance. Please suggest</p>