-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Missing credentials for "PLAIN" at SMTPConnection._formatError #1039
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Did you ever figure this out? I'm on a deadline and this error has all of a sudden crept into my project. It was running fine and I think the only thing I may have changed between when it was running and now is my google account authentication. Any ideas would be very welcomed! |
For me, it was due to not adding my Gmail password to the .env file. |
I can't believe I just spent 4 hours trying to debug this when this was all it was. I was using a private mail server though not Gmail, but same issue. |
@zbisj try running it locally with NGROK server... it is working fine. I am also facing same issue, my code is working fine and sending emails, but showing error on heroku. I am using zoho email server |
For me, it was occuring while adding no text field in message object |
Hi guys,
I hope this is helpful to someone |
Thanks it worked for me . |
Same issue here. I had rebuilt the |
Try to use your email password in .env file and run the program again it might fix your issue |
Hi, In the first go try to use pass instead of password in auth field. |
|
Hi I am trying to setup nodemailer with gmail and so far I have been following this video:
Here is my code:
`
const nodemailer = require("nodemailer");
const xoauth2 = require('xoauth2');
`
I am getting this error:
{ Error: Missing credentials for "PLAIN" at SMTPConnection._formatError (/home/xxxxxx/projects/my-projects/test/node_modules/nodemailer/lib/smtp-connection/index.js:781:19) at SMTPConnection.login (/home/xxxxxx/projects/my-projects/test/node_modules/nodemailer/lib/smtp-connection/index.js:452:38) at connection.connect (/home/xxxxx/projects/my-projects/test/node_modules/nodemailer/lib/smtp-transport/index.js:271:32) at SMTPConnection.once (/home/xxxxx/projects/my-projects/test/node_modules/nodemailer/lib/smtp-connection/index.js:209:17) at Object.onceWrapper (events.js:286:20) at SMTPConnection.emit (events.js:198:13) at SMTPConnection._actionEHLO (/home/xxxxxxx/projects/my-projects/test/node_modules/nodemailer/lib/smtp-connection/index.js:1309:14) at SMTPConnection._processResponse (/home/xxxxxxxx/projects/my-projects/test/node_modules/nodemailer/lib/smtp-connection/index.js:940:20 ) at SMTPConnection._onData (/home/xxxxxxxxx/projects/my-projects/test/node_modules/nodemailer/lib/smtp-connection/index.js:746:14) at TLSSocket.SMTPConnection._onSocketData (/home/xxxxxxxxx/projects/my-projects/test/node_modules/nodemailer/lib/smtp-connection/index.js :189:46) code: 'EAUTH', command: 'API' }
Version Numbers
os: ubuntu 19.04
node 10.16.0
nodemailer 6.3.0
I do not understand which credentials are missing as I have provided them. I have looked on almost all the articles on this issue and none have helped.
Also a quick question: Is it possible to use nodemailer on just a create-react-app without having to setup a backend for it?
Thanks in advance
The text was updated successfully, but these errors were encountered: