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)

Incoming Emails fail to process with 'Value cannot be null' error

(0) ShareShare
ReportReport
Posted on by 1,691

Hello,

We noticed that few mails are not getting processed from the Forward Mailbox. The below error is logged in the Event log.

We suspect this could be due to the OneDrive attachments attached in the mail.

Error Message:

 

#9628 - An error occurred while delivering the e-mail message with subject "Test - Please Ignore" in mailbox Forwardmailbox@domain.com   for delivery to https://application.xxxxx.xxxx.xxxxx.com/Organization. System.ArgumentNullException: Value cannot be null.

Parameter name: inArray

   at System.Convert.ToBase64String(Byte[] inArray)

   at Microsoft.Crm.Tools.Email.Providers.ExchangeWSConnector.RetrieveAttachments(ExchangeEmailMessage emailMessage, ArrayList& attachmentList)

   at Microsoft.Crm.Tools.Email.Providers.ExchangeEmailMessage.GetAttachments()

   at Microsoft.Crm.Tools.Email.Providers.CrmPollingMailboxProvider.DeliverMessageInternal(EmailMessage emailMessage)

   at Microsoft.Crm.Tools.Email.Providers.ExchangePollingMailboxProvider.DeliverMessageInternal(EmailMessage emailMessage)

   at Microsoft.Crm.Tools.Email.Providers.CrmPollingMailboxProvider.DeliverMessage(EmailMessage emailMessage)

   at Microsoft.Crm.Tools.Email.Providers.CrmPollingMailboxProvider.Run()

 

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Manoj Batchu Profile Picture
    1,691 on at

    We have raised a Product Ticket for this issue.

    What we can gonna get is these emails with the OneDrive attachments/links will get passed through the router and added to CRM. What we wouldn’t be able to do is download the attached file into CRM and the attachment itself will likely not be accessible in CRM. To have the attachment available in CRM, we would need to attach an actual copy of the file and not the OneDrive link, as the CRM email router isn’t setup to provide that functionality.

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