Dynamics CRM

E-Mails are stuck in “Pending send”-Status

The last week I had the problem, that some emails were sent to the customer, the field “Date Sent” (senton)-Field is was filled with a date, but the status was still in “pending send”.

Based on the fact, that the field “date send” was filled, I checked the mailserver, if the mail was really sent. My mailserver showed, that the mail was sent. My next step was, to enable the tracing on the backend server. After some minutes, I got the following message in the log:

The mail was sent to the customer:

 

An exception was thrown after the sending:

Based on the exception message, I checked google, but was not able to find any result. My first thought was, that a plugin might have blocked something, as the senton-field was set, but the status was not changed. But there were no plugins that might have an impact on this.

 

Solution:

Checking the entity, I recognized, that the auditing was enabled on the mail-entity. Therefore I disabled the auditing and the error was gone.