I am able to send the email from my MVC application in my local machine. But when I trying the same after publishing the code in Azure webapps not able to sent it.
Get the following error:
"The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.0 Authentication Required."
I am using gmail.com for sending the mail.

I had already enabled Less secure apps to ON
Please suggest why email functionality working in local machine and not in Azure webapps