CRM 2011 E-mail Router – An error occurred while checking for e-mail messages to process in mailbox

We have configured the Microsoft Dynamics CRM 2011 E-mail Router for one of our clients who receive thousands of incoming e-mail messages to different mailboxes. As they rely on e-mail as their main source of communication, it is important that the E-mail Router can process incoming e-mail messages without any issues.

One of the issues we have seen recently is an error stating:

#27938 – An error occurred while checking for e-mail messages to process in mailbox me@mymailbox.com. System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Crm.Tools.Email.Providers.ExchangeWSConnector.RetrieveMessage(ArrayList ids, Int32 index, ServiceLogger serviceLogger)
at Microsoft.Crm.Tools.Email.Providers.ExchangePollingMailboxProvider.RetrieveNextMessageInternal()
at Microsoft.Crm.Tools.Email.Providers.CrmPollingMailboxProvider.RetrieveNextMessage()
at Microsoft.Crm.Tools.Email.Providers.CrmPollingMailboxProvider.Run()

This error occurs due to spam e-mail messages inside the mailbox. It is difficult to identify exactly which e-mails are causing issue but if you try to clear all spam, you will notice that the E-mail Router will continue to process incoming e-mail messages.

Advertisements

One thought on “CRM 2011 E-mail Router – An error occurred while checking for e-mail messages to process in mailbox”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s