Error Message: "No clue about the ezcMailDeliveryStatus"
This patch catches that error, prints it, marks the offending email ignored, and allows activities processing to continue.
// preseve backward compatibility
if ($usedfor == 0 || !$civiMail) {
- // if its the activities that needs to be processed ..
- $mailParams = CRM_Utils_Mail_Incoming::parseMailingObject($mail);
+ // if its the activities that needs to be processed ..
+ try {
+ $mailParams = CRM_Utils_Mail_Incoming::parseMailingObject($mail);
+ } catch (Exception $e) {
+ echo $e->getMessage();
+ $store->markIgnored($key);
+ continue;
+ }
require_once 'CRM/Utils/DeprecatedUtils.php';
$params = _civicrm_api3_deprecated_activity_buildmailparams($mailParams, $emailActivityTypeId);