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 :
Microsoft Dynamics CRM (Archived)

Dynamics 365 | SMTP Email Integration return OutgoingServerSecureChannelError MustIssueStartTlsFirst

(0) ShareShare
ReportReport
Posted on by 107

Hello Guys, 

I'm trying to configure CRM with smtp email server.

I created SMTP server Profile and enter correct credentials ,ALLOW SSL to false  I always receive the following error :

The email message "Test Message" cannot be sent because an error occurred while establishing a secure connection to the email server. Mailboxdidn't synchronize. The owner of the email server profile SMTP has been notified.
Email Server Error Code: Smtp server returned OutgoingServerSecureChannelError MustIssueStartTlsFirst 

>Error : System.Net.Mail.SmtpException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.57 SMTP; Client was not authenticated to send anonymous mail during MAIL FROM

However I entered the correct info and credential.

Also When I try to create console application using SMTPClient class it works without SSL !!!!!!

so I've been 2 days struggle what should be the CRM error 

Thanks

*This post is locked for comments

I have the same question (0)
  • gdas Profile Picture
    50,091 Moderator on at

    Hi Ahmed,

    Not sure you might have seen below reference-

    support.microsoft.com/.../smtp-server-returned-530-mustissuestarttlsfirst-exception-occurs-when

  • Ahmed Ghaib Profile Picture
    107 on at

    Thanks I types the username , password which worked in Console application

    still the same error

  • Suggested answer
    gdas Profile Picture
    50,091 Moderator on at

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 > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans