In this tutorial I will show how to SMTP server requires a secure connection or the client was not authenticated | Email Sending ASP.NET. Our Error is:
First go to your Gmail account by the right side of top menu:
Then in left side menu go to security:
Then bellow the list goes to less security app access option on:
You can see solve the problem.