Since Google announced that from May 30, 2022, Google no longer supports the use of third-party apps or devices (shutting down its less secure apps) which ask you to sign in to your Google Account using only your username and password.
From day to day, Google is increasing the security requirements for gaining access to your Gmail accounts. Base on my experience, I used to send email outside gmail app or website for my own personal use, but I got an SMTP Authentication Error however; my user name / pass was correct.
So today I will share with you how to fixed this problem because we have alternative way to send gmail message via you own app or even in outlook or other app which not owned by Google.
Firstly, login to your gmail account and navigate to top right cornor click on profile and click Manage you Google Account
Go to Security Setting tab and navigate to section Signing in to Google and click on 2-Step Verification then you will have option to generate password app, for those who already verified two factors authenticate the option will show directly.
When 2-step verification show up click Start button, and try to login to your account again. After that you have to verify with phone number via text or voice. Now you have done on 2FA.
Navigate back to Security Setting tab you will see App Password is shown below 2-Step Verification. Click on that to App Password and login to verified. Click here!
In App Password tab select Other(custom name) in Select App then given perfered name and click GENERATE button to get new app password.
Finally copy the 16 characters of password and click done. This passwords no need to remember, we can use this password instead of email and password to send mail via your app.
If you still can not send email and got error ssl socket, try to turn off your antivirus and firewall. It might help.
Hope this short tips help you to send out your email again. Have a nice day!
You might also like..
Founder of CamboTutorial.com, I am happy to share my knowledge related to programming that can help other people. I love write tutorial related to PHP, Laravel, Python, Java, Android Developement, all published post are make simple and easy to understand for beginner. Follow him