CRM-19844: Fire hook_civicrm_emailProcessor('activity') only in event of Activity...
authorChris Burgess <chris@giantrobot.co.nz>
Mon, 9 Jan 2017 04:52:06 +0000 (17:52 +1300)
committerChris Burgess <chris@giantrobot.co.nz>
Mon, 9 Jan 2017 04:52:06 +0000 (17:52 +1300)
commit7349cf080926ba68d740e6fc08b7d67f96509972
tree46e2119fd662e1f2349c85f8a56da06781755047
parentb212d4a6e2648c538dd68a56986db6725d5494ed
CRM-19844: Fire hook_civicrm_emailProcessor('activity') only in event of Activity API success.

If this is triggered when the Activity API call was unsuccessful, it can lead to the mailbox processing being blocked by the rejected email.

Further emails may not be processed.
CRM/Utils/Mail/EmailProcessor.php