web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

5.7.57 Client not authenticated to send mail

(0) ShareShare
ReportReport
Posted on by 10

Please can I get assistance I have a customer that is trying to sent mail from CRM using an exchange mailbox he gets a return error message: The server response was: 5.7.57 Client not authenticated to send mail. [JN2P275CA0048.ZAFP275.PROD.OUTLOOK.COM]"}

We really need urgent assistance as we  have this ticket open for a long time now

5.7.57-Client-not-authenticated-to-send-mail.png

Kind Regards,

Mhlaba.

I have the same question (1)
  • jlavsund Profile Picture
    5 on at

    Hi Mhlaba,

    This might help you: stackoverflow.com/.../5-7-57-smtp-client-was-not-authenticated-to-send-anonymous-mail-during-mail-fr

    From  this thread:  "You need to set "UseDefaultCredentials" to false first and then set Credentials. If you set "UseDefaultCredentials" after that it resets the NetworkCredential to null."

    Kind Regards

    Johan

  • Mhlaba Profile Picture
    10 on at

    Hi Johan,

    Thank you very much for the article shared with me.

    Also the thread was helpful which made us receive a different error:  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. Error: 535 5.7.139 Authentication unsuccessful, SmtpClientAuthentication is disabled for the Tenant. Visit aka.ms/smtp_auth_disabled for more information. [JN2P275CA0026.ZAFP275.PROD.OUTLOOK.COM]"}             System.Net.Mail.SmtpException

    When following the link in the error it leads to an article most of which we have in place, but states this.

    file:///C:/Users/MhlabaD/Downloads/SMTP%20Auth.png

    Simple the link refers to SMTP Client Authentication

    SMTP Client Auth is enabled on the tenant so I have went and disabled it

    I will advise with further outcome

    Kind regards,

    Mhlaba

  • Suggested answer
    Mhlaba Profile Picture
    10 on at

    SMTP Client Auth is enabled on the tenant so I have went and disabled it.

    The above sorted out the issue.

    Thank you

  • zaidshaban Profile Picture
    5 on at

    i came into this error as well ' 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. Error: 535 5.7.139 Authentication unsuccessful, the user credentials were incorrect. [LO6P265CA0011.GBRP265.PROD.OUTLOOK.COM 2023-02-28T08:09:57.298Z 08DB18FF37F9836B]' , is there a way you solved it with you can share ? i would be much appreciated

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 183 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 110

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 61 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans