do not record temporary fail as a bounce

This commit is contained in:
Rich Lott 2019-02-22 17:23:18 +00:00
parent 4064380eb8
commit c6a1675ee8

View File

@ -99,7 +99,8 @@ class CRM_Mailgunny_Page_Webhook extends CRM_Core_Page {
$this->processCommonBounce($event, 'Invalid'); $this->processCommonBounce($event, 'Invalid');
} }
public function processTemporaryBounce($event) { public function processTemporaryBounce($event) {
$this->processCommonBounce($event, 'Syntax'); //$this->processCommonBounce($event, 'Syntax');
Civi::log()->info("Mailgun Webhook skipping temporary bounce.");
} }
public function processCommonBounce($event, $type) { public function processCommonBounce($event, $type) {
Civi::log()->info("Mailgun Webhook processing bounce: $type"); Civi::log()->info("Mailgun Webhook processing bounce: $type");