I'm really tired,
I run this on windows, I have tried all the suggestions here and am still getting the same error message. What am I missing? I already have "Access for less secure apps" enabled and am still getting the same error as everyone here. Has anyone figured out how to fix this? I can log into my gmail account successfully so I know that the "new" password is correct.
I use custom domain and still getting the same error.
i add this below, and still error. Somebody pls give me code sMailer.js
const smtpTransport = require('nodemailer-smtp-transport');
this.transporter = nodemailer.createTransport(smtpTransport({
service: 'gmail',
auth: {
user: '
[email protected]',
pass: 'pass'
},