From: Tim Düsterhus Date: Mon, 15 Feb 2021 10:43:16 +0000 (+0100) Subject: Call ->onFinalFailure() when encountering a PermanentFailure during email delivery X-Git-Tag: 5.4.0_Alpha_1~252^2~14 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b30b53dd2aab2a696c9110d19dea65a6e87e9909;p=GitHub%2FWoltLab%2FWCF.git Call ->onFinalFailure() when encountering a PermanentFailure during email delivery --- diff --git a/wcfsetup/install/files/lib/system/background/job/EmailDeliveryBackgroundJob.class.php b/wcfsetup/install/files/lib/system/background/job/EmailDeliveryBackgroundJob.class.php index 6bb0d34c8e..04eb69f33d 100644 --- a/wcfsetup/install/files/lib/system/background/job/EmailDeliveryBackgroundJob.class.php +++ b/wcfsetup/install/files/lib/system/background/job/EmailDeliveryBackgroundJob.class.php @@ -119,6 +119,7 @@ class EmailDeliveryBackgroundJob extends AbstractBackgroundJob } catch (PermanentFailure $e) { // no need for retrying. Eat Exception and log the error. \wcf\functions\exception\logThrowable($e); + $this->onFinalFailure(); } } }