web
You’re offline. This is a read only version of the page.
close
Skip to main content
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)
  • zaidshaban Profile Picture
    5 on at
    RE: 5.7.57 Client not authenticated to send mail

    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

  • Suggested answer
    Mhlaba Profile Picture
    10 on at
    RE: 5.7.57 Client not authenticated to send mail

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

    The above sorted out the issue.

    Thank you

  • Mhlaba Profile Picture
    10 on at
    RE: 5.7.57 Client not authenticated to send mail

    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

  • jlavsund Profile Picture
    5 on at
    RE: 5.7.57 Client not authenticated to send mail

    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

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
DAnny3211 Profile Picture

DAnny3211 134

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 106

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 70 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans