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

Announcements

No record found.

News and Announcements icon
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 (2)
  • 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 189 Super User 2026 Season 1

#2
CU11031447-0 Profile Picture

CU11031447-0 100

#3
11manish Profile Picture

11manish 76

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans