I\'m trying to send the email gmail smtp but I\'m getting the error:
My email and password is correct I\'m using the nodemailer for sending the mail;
For me secure:true was giving ssl errors. I changed secure:false as below and worked for me.
let transporter = nodeMailer.createTransport({ host: 'smtp.gmail.com', port: 587, secure: false, //<