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)

Error with Incoming Email with POP3 server / Outgoing email OK.

(0) ShareShare
ReportReport
Posted on by

Hi, 

I need help with Dynamics CRM 2016 8.1.0.359 (On Premise), incoming email from POP3 server is not receiving.  Generate this error: 

In Trace:

[2016-07-13 07:00:08.040] Process:CrmAsyncService |Organization:4ea46403-1a7c-42da-864e-115f75a96d98 |Thread: 50 |Category: EmailConnector |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: 00000000-0000-0000-0000-000000000000 | IncomingEmailProviderBase.HandleTrace ilOffset = 0x30 >Exception occurred while POP3 mailbox processing for mailbox: e237e4e3-9b38-e611-80c6-00505691f6f3. Details : Unhandled Exception: System.InvalidCastException: Unable to cast object of type 'Microsoft.Crm.Asynchronous.EmailConnector.Pop3EmailMessage' to type 'Microsoft.Crm.Asynchronous.EmailConnector.ExchangeEmailMessage'. > at Microsoft.Crm.Asynchronous.EmailConnector.IncomingEmailProviderBase.DeliverMessageInternal(IEmailMessage emailMessage, Boolean validateBeforeCreate) > at Microsoft.Crm.Asynchronous.EmailConnector.ProcessAllMessagesStep.Execute() > at Microsoft.Crm.Asynchronous.EmailConnector.POP3ProcessingStep.Execute() > at Microsoft.Crm.Asynchronous.EmailConnector.Pop3IncomingEmailProvider.ReceiveEmails()

The POP3 server is a Kerio Email server. Email sent from Dynamics CRM going out fine. 

*This post is locked for comments

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

    Hola, si pudiste resolver ese problema, ya que me encontré los mismo y levante un caso en MS, según lo corrige el SP1 pero en realidad sigue igual.

  • Vladimir Lukin Profile Picture
    on at

    Hello, Leonardo!

    Unfortunately this issue exists in our deployment too (2016 SP1 on-prem). This issue exists already a half of year. No solution found till now. There is workaround with email router, but this is not smooth solution for us, maybe it will help You: [View:https://community.dynamics.com/crm/f/117/p/187523/567484#567484]

    V.

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