Intenté iniciar sesión en el correo yandex desde nodemailer. pero entiendo
(node:6480) UnhandledPromiseRejectionWarning: Error: Invalid login: 535 5.7.8 Error: authentication failed: This user does not have access rights to this service at SMTPConnection._formatError (C:\Users\Tekin\Desktop\buygame\node_modules\nodemailer\lib\smtp-connection\index.js:784:19) at SMTPConnection._actionAUTHComplete (C:\Users\Tekin\Desktop\buygame\node_modules\nodemailer\lib\smtp-connection\index.js:1536:34) at SMTPConnection.<anonymous> (C:\Users\Tekin\Desktop\buygame\node_modules\nodemailer\lib\smtp-connection\index.js:540:26) at SMTPConnection._processResponse (C:\Users\Tekin\Desktop\buygame\node_modules\nodemailer\lib\smtp-connection\index.js:947:20) at SMTPConnection._onData (C:\Users\Tekin\Desktop\buygame\node_modules\nodemailer\lib\smtp-connection\index.js:749:14) at TLSSocket.SMTPConnection._onSocketData (C:\Users\Tekin\Desktop\buygame\node_modules\nodemailer\lib\smtp-connection\index.js:189:44) at TLSSocket.emit (events.js:315:20) at addChunk (_stream_readable.js:309:12) at readableAddChunk (_stream_readable.js:284:9) at TLSSocket.Readable.push (_stream_readable.js:223:10)
Abrí las contraseñas de la aplicación
Mi código
let transporter = nodemailer.createTransport({ service:"yandex", host: "smtp.yandex.com", port: 465, secure: true, auth: { user: "someemail@yandex.com", pass: settings.email.pass, }, });