Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

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

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

  • justcoolze Profile Picture
    justcoolze 30 on at
    RE: Dynamics CRM 2016 EMAIL ROUTER: The SMTP server requires a secure connection or the client was not authenticated.

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

  • justcoolze Profile Picture
    justcoolze 30 on at
    RE: Dynamics CRM 2016 EMAIL ROUTER: The SMTP server requires a secure connection or the client was not authenticated.

    Thanks Wayne for your feedback,

    My email router configuration have user and password setting

    also the credentials have global privileges

  • Suggested answer
    Wayne Walton Profile Picture
    Wayne Walton 13,726 on at
    RE: Dynamics CRM 2016 EMAIL ROUTER: The SMTP server requires a secure connection or the client was not authenticated.

    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.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans