I am trying to send an email from GoDaddy email in nodemailer but it is not sending.
exports.transporter = nodemailer.createTransport({
host: "smtpout.secureserver.net",
secureConnection: true,
port: 587,
auth: {
user: 'my@domain',
pass: '*********'
}
})
this is my error
Error: Invalid login: 535 Authentication Failed for my@domain
at SMTPConnection._formatError
code: 'EAUTH', response: '535 Authentication Failed for my@domain', responseCode: 535, command: 'AUTH PLAIN' }