diff --git a/src/controllers/WebhookController.php b/src/controllers/WebhookController.php index 81c20a51..d9fdd86a 100755 --- a/src/controllers/WebhookController.php +++ b/src/controllers/WebhookController.php @@ -289,6 +289,9 @@ public function actionPostmark(): ?Response if ($bounceType == 'HardBounce') { return $this->callWebhook('bounced', $email); } + + // Append the bounce type for debugging purposes. + $eventType .= '.' . $bounceType; } // https://postmarkapp.com/developer/webhooks/subscription-change-webhook elseif ($eventType == 'SubscriptionChange') { $suppress = $this->request->getBodyParam('SuppressSending');