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
Gmail constantly fails - Error: AUTH failed #91
Comments
I just tested mailsend v1.18 from windows, mac and linux with |
Solved. I had to enable "Less secure apps" (turn it ON). You can find it on your account here: http://www.google.com/settings/security/lesssecureapps Some more reading why this is needed: Hope this will help other people with the same issue. |
I did not know about that option of gmail smtp. Thanks for figuring it out. |
Hi, I have 2factor authentication turned off. So, I am not able to do less secure apps. |
you need an app-passwort for third party apps like mailsend.. not your own standard password. |
I am trying this:
mailsend1.18.exe -to "receiver@gmail.com" -from "myusername@gmail.com" -ssl -port "465" -auth -smtp "smtp.gmail.com " -sub test +cc +bc -v -user "myusername@gmail.com" -pass "mypassword"
Getting error:
Error: AUTH LOGIN failed: '534 5.7.14
I also tried with -auth-plain and -auth-login. Similar error with AUTH failed.
My gmail account is not set for 2-factor authentication, password is correct. I also looked into all examples on wiki for SSL on gmail, tried many options but always AUTH failed.
Any ideas?
The text was updated successfully, but these errors were encountered: