-
Notifications
You must be signed in to change notification settings - Fork 230
-
Notifications
You must be signed in to change notification settings - Fork 230
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
Works on remote server, but not on local server. #103
Comments
if you uncomment this line: https://github.com/eleith/emailjs/blob/master/smtp/client.js#L9 this will help provide step by step logging of what is going on in the smtp layer to help you debug the problem |
@eleith it shows:
|
what does it show when trying to connect to localhost? this was a debug log of connecting to gmail |
@eleith all in once:
|
this log shows you are connecting to gmail, and says that the user/pass are incorrect
|
All right! Thanks. |
For me the issue was that Google no longer supports username and password only. It now requires 2FA app passwords. See here: |
Module works great on remote server, but on localhost it gives following error: "Error Sending: Email failed to send. Error: authorization.failed". I have no idea why, everything on local server works just fine.
The text was updated successfully, but these errors were encountered: