Missing credentials for “PLAIN” nodemailer

You have

auth: {
    user: '[email protected]',
    password: 'password'
}

But you should write this

auth: {
    user: '[email protected]',
    pass: 'password'
}

Just rename password to pass.

Leave a Comment