Running the fetch_activities cli task stops with a fatal error when the incomming...
authorDavid Hayes <david@blackbricksoftware.com>
Sun, 13 Sep 2015 23:03:30 +0000 (18:03 -0500)
committerDavid Hayes <david@blackbricksoftware.com>
Sun, 13 Sep 2015 23:03:30 +0000 (18:03 -0500)
commit5fdd5f80e713ad37459f45056fc35687144e45ad
tree91885844e8fdec9b9b707f365ea306973c094c55
parent462865f651d2a6b5277e319d989a7dabc498dd4d
Running the fetch_activities cli task stops with a fatal error when the incomming mail parser is unable to determine the ezcMailDeliveryStatus. The fetch_activities task will continue to download and attempt to parse the offending email, dying every time. This prevents other mails from being downloaded and parsed.

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.
CRM/Utils/Mail/EmailProcessor.php