Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

CRM 2011 Email Router Error

Posted on by Microsoft Employee

HI All,

I am getting below error thousands of times intermittently on my EventViewer. What is the cause of this issue.

#61346 - An error occurred while checking for outgoing e-mail messages to process for SMTP:'  ' . System.ServiceModel.Security.MessageSecurityException:
An unsecured or incorrectly secured fault was received from the other party.
See the inner FaultException for the fault code and detail. ---> System.ServiceModel.FaultException:
The security context token is expired or is not valid. The message was not processed.
--- End of inner exception stack trace ---

Server stack trace:
at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.ProcessReply(Message reply, SecurityProtocolCorrelationState
correlationState, TimeSpan timeout)
at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.Xrm.Sdk.IOrganizationService.Execute(OrganizationRequest request)
at Microsoft.Xrm.Sdk.Client.OrganizationServiceProxy.ExecuteCore(OrganizationRequest request)
at Microsoft.Crm.Tools.Email.Providers.CrmServiceClient.<>c__DisplayClass1.<Execute>b__0(IOrganizationService service)
at Microsoft.Crm.Tools.Email.Providers.CrmPollingSendEmailProvider.RequestEmailsToProcess(QueryExpression query)
at Microsoft.Crm.Tools.Email.Providers.CrmPollingSendEmailProvider.RetrieveNextMessageInternal()
at Microsoft.Crm.Tools.Email.Providers.CrmPollingSendEmailProvider.RetrieveNextMessage()
at Microsoft.Crm.Tools.Email.Providers.CrmPollingSendEmailProvider.Run()

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: CRM 2011 Email Router Error

    Hi Anyone, Experiencing the same issue. Please help

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: CRM 2011 Email Router Error

    Hi Neil,

    Account details used to authencticate with Exchange Servers are correct as this error is intermittent. My Emails are getting sent. This error occurs once in a while and it disappears.

    Regards,

    Saad

  • Suggested answer
    Neil Parkhurst Profile Picture
    Neil Parkhurst 10,725 User Group Leader on at
    RE: CRM 2011 Email Router Error

    I saw messages similar to this in the event log of one of our customers only yesterday! (That was CRM2011 with email router.)

    In our case the email router was not properly configured. The account details used to authenticate with Exchange were wrong and needed to be re-entered.

    Until corrected I also observed that the emails in CRM all had a status of "Pending Send".

    Your problem might not be exactly the same as the one I had. But it is worth checking the config on your email router. In my example the email router was giving the error on every email. (If some emails are sending then your problem will be different to mine.)

  • Suggested answer
    PS Profile Picture
    PS 23,577 on at
    RE: CRM 2011 Email Router Error

    Do u have a queue, whose outgoing email is set to Outlook, in queue's mailbox? That might be causing theis issue

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,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans