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

Dynamics CRM 2016 EMAIL ROUTER: The SMTP server requires a secure connection or the client was not authenticated.

(0) ShareShare
ReportReport
Posted on by 30

Hello Team,

I setup Dynamics crm 2016 on-premises email router

Everything works fine on the test environment, after the UAT

We change the test environment IP address to working environment IP address

We encounter big challenge with outgoing email,

All the outgoing mail status stock on "Pending Status"

event management gave me an error...

#61042 - An error occurred while processing the outgoing email message with subject "SLA Warning Email UP:0001266" for SMTP: http://crmapp/domain for delivery through smtp.gmail.com. System.Net.Mail.SmtpException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required. Learn more at
   at System.Net.Mail.MailCommand.CheckResponse(SmtpStatusCode statusCode, String response)

at System.Net.Mail.MailCommand.Send(SmtpConnection conn, Byte[] command, MailAddress from, Boolean allowUnicode)
   at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, Boolean allowUnicode, SmtpFailedRecipientException& exception)
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at Microsoft.Crm.Tools.Email.Providers.SmtpPollingSendEmailProvider.ProcessMessageInternal(Entity emailMessage)

I will appreciate advice, help from anyone

Thanks.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Wayne Walton Profile Picture
    13,730 on at

    Give it a user name and password to use for sending mail through Gmail.  Alternately, make sure the user account you used in Test has access to prod.

  • justcoolze Profile Picture
    30 on at

    Thanks Wayne for your feedback,

    My email router configuration have user and password setting

    also the credentials have global privileges

  • justcoolze Profile Picture
    30 on at

    I will suggest you revert to the test environment and see if the situation will change.

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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans