Make sure that NetworkCredentials you set are correct and try to follow this links
5-7-57-smtp-client-was-not-authenticated-to-send-anonymous-mail-during-mail-fr
The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.57 Client not authenticated to send mail. [ZR0P278CA0017.CHEP278.PROD.OUTLOOK.COM]
Sajith Gopalakrishnan Hema
1,056
Reputation points
Getting error while sending email using .net and web.config has the following details-
The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.57 Client not authenticated to send mail. [ZR0P278CA0017.CHEP278.PROD.OUTLOOK.COM]
<network host="smtp.office365.com" defaultCredentials="false" enableSsl="true" port="587" userName="" password=""/>
Developer technologies | ASP.NET | ASP.NET Core
4,827 questions
1 answer
Sort by: Most helpful
-
AddWebSolution 171 Reputation points
2021-04-27T08:06:02.417+00:00