The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.0 Authentication Required. Learn more at
Loading
The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.0 Authentication Required. Learn more at
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sachin SinghPosted Dec 19, 2022, 2:38 PM
Yes correct , follow what @Ajay Chauhan recommended.
ajay chauhanPosted Dec 19, 2022, 12:10 PM
Less secure app option is removed by gmail. so you just need to registered your contact number with your gmail from which you try to sent email. After that in security you got option for third party login create a new for third party app for send mail.
Use this password in your code.
1. go security recomendations
2. Access this by 2-step verification this is new service on gmail.
Vishal JoshiPosted Dec 19, 2022, 8:20 AM
Hello
You need to disable two-step verification and enable Allow less secure apps access.
Please check below link:
https://www.stechies.com/mail-not-accepted-from-server-authentication-required/
Thank You
Sachin SinghPosted Dec 19, 2022, 5:48 AM
you have to enable Less Secure Sign-In (or Less secure app access) in your google account.