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)

Emails not going out of CRM - SMTP server requires a secure connection or the client was not authenticated.

(0) ShareShare
ReportReport
Posted on by

When I try to send an email from CRM they are constantly retrying to send, sometimes up to seven times but eventually fail. The event viewer points to the issue but I am not sure exactly what is required to fix this. The key part of the message below being...The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.1 Client was not authenticated.

#61042 - An error occurred while processing the outgoing e-mail message with subject "New Product STILL Awaiting Update: testinformation" for SMTP: http://crmsrv:5555/IMC for delivery through exchange.imco.local. System.Net.Mail.SmtpException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.1 Client was not authenticated

at System.Net.Mail.MailCommand.CheckResponse(SmtpStatusCode statusCode, String response)

at System.Net.Mail.MailCommand.Send(SmtpConnection conn, Byte[] command, String from)

at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, SmtpFailedRecipientException& exception)

at System.Net.Mail.SmtpClient.Send(MailMessage message)

at Microsoft.Crm.Tools.Email.Providers.SmtpPollingSendEmailProvider.ProcessMessageInternal(email emailMessage)

at Microsoft.Crm.Tools.Email.Providers.CrmPollingSendEmailProvider.ProcessMessage(email emailMessage)

at Microsoft.Crm.Tools.Email.Providers.CrmPollingSendEmailProvider.Run()

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Thank you.

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    Mail server has been set to allow emails from CRM using SMTP anonymous authentication.

  • Verified answer
    Gayatri Shevde Profile Picture
    460 on at

    Hello,

    This error usually comes up if there connectors issues on Receive Connector is not set on  Exchange side . You should ask your exchange admin to Configured Receive Connector.

    Regards,

    Gayatri Shevde

    Microsoft Dynamics CRM

     

  • Community Member Profile Picture
    on at

    Thanks Gayatri. We have already asked this so you are thinking along the same lines as us. We will wait for their response, but if it is this which resolves it I will mark your answer as the verified one. Thanks for your help.

  • Community Member Profile Picture
    on at

    Hi Gayatri,

    The reason the emails are working now is because they are coming from the service desk user instead of the CRM administrator user. I believe that the exchange server is not accepting emails which come from certain CRM users which sounds like a receive connector issue. To give an example of why I think this will work in some instances and not others:

    Failing example:

    • A workflow is triggered by changing a record, an email is automatically sent to someone from the admin user but I believe the email server rejects this attempt and does not send the email as it will not accept anything from the CRM admin email account

    Working example:

    • A workflow is triggered by changing a record, an email is automatically sent to a user (but we have changed the user from the admin user to the service desk user), the email server accepts this and fires off the email this time.

    Does anybody have the steps on how I configure the receive connector to accept emails from other CRM users?  

  • Verified answer
    Community Member Profile Picture
    on at

    I have finally come back around to this and I am pretty sure you were bang on Gayatri.

    The server response was: 5.7.1 Client was not authenticated on emails outgoing from CRM is an exchange issue. Open exchange console>Server config>Hub Transport>default receive connector properties>permission group>tick anonymous users

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