Wappler Version : 4.9
Operating System : windows 11
Server Model: NodeJS
Database Type:MYSQL
Hosting Type: Heroku
Expected behavior
should send the email
Actual behavior
I get the following error
code: “EAUTH”
message: “Missing credentials for “LOGIN””
stack: “Error: Missing credentials for “LOGIN”\n at SMTPConnection._formatError (/app/node_modules/nodemailer/lib/smtp-connection/index.js:784:19)\n at SMTPConnection.login (/app/node_modules/nodemailer/lib/smtp-connection/index.js:438:38)\n at /app/node_modules/nodemailer/lib/smtp-transport/index.js:271:32\n at SMTPConnection. (/app/node_modules/nodemailer/lib/smtp-connection/index.js:209:17)\n at Object.onceWrapper (node:events:641:28)\n at SMTPConnection.emit (node:events:527:28)\n at SMTPConnection._actionEHLO (/app/node_modules/nodemailer/lib/smtp-connection/index.js:1319:14)\n at SMTPConnection._processResponse (/app/node_modules/nodemailer/lib/smtp-connection/index.js:947:20)\n at SMTPConnection._onData (/app/node_modules/nodemailer/lib/smtp-connection/index.js:749:14)\n at SMTPConnection._onSocketData (/app/node_modules/nodemailer/lib/smtp-connection/index.js:189:44)”
status: “500”
I read the post “Email not sending…” - Jan20 and it seemed to suggest that starttls on nodejs would auto detect and work but doesnt for me on this version/setup
How to reproduce
Set up send email with settings as above and look at the
I have checked that smtp authentication is setup for the email addresses and tried different email addresses - still not working but now have a slightly different error message…
code: “EAUTH”
message: “Invalid login: 535 5.7.139 Authentication unsuccessful, the request did not meet the criteria to be authenticated successfully. Contact your administrator. [PR0P264CA0207.FRAP264.PROD.OUTLOOK.COM]”
stack: “Error: Invalid login: 535 5.7.139 Authentication unsuccessful, the request did not meet the criteria to be authenticated successfully. Contact your administrator. [PR0P264CA0207.FRAP264.PROD.OUTLOOK.COM]\n at SMTPConnection._formatError (/app/node_modules/nodemailer/lib/smtp-connection/index.js:784:19)\n at SMTPConnection._actionAUTHComplete (/app/node_modules/nodemailer/lib/smtp-connection/index.js:1536:34)\n at SMTPConnection. (/app/node_modules/nodemailer/lib/smtp-connection/index.js:1490:18)\n at SMTPConnection._processResponse (/app/node_modules/nodemailer/lib/smtp-connection/index.js:947:20)\n at SMTPConnection._onData (/app/node_modules/nodemailer/lib/smtp-connection/index.js:749:14)\n at SMTPConnection._onSocketData (/app/node_modules/nodemailer/lib/smtp-connection/index.js:189:44)\n at TLSSocket.emit (node:events:527:28)\n at addChunk (node:internal/streams/readable:324:12)\n at readableAddChunk (node:internal/streams/readable:297:9)\n at Readable.push (node:internal/streams/readable:234:10)”
status: “500”