From be14c7b8df7b1d2264b64dd9cb1d668cb544e20a Mon Sep 17 00:00:00 2001 From: Xenomporio <> Date: Tue, 28 Jun 2022 17:00:40 +0200 Subject: [PATCH] Show account if error in SystemMailer --- classes/Modules/SystemMailer/SystemMailer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Modules/SystemMailer/SystemMailer.php b/classes/Modules/SystemMailer/SystemMailer.php index 566c835d..5e7c1a70 100644 --- a/classes/Modules/SystemMailer/SystemMailer.php +++ b/classes/Modules/SystemMailer/SystemMailer.php @@ -124,7 +124,7 @@ final class SystemMailer } catch (Exception $e) { $account = null; $this->logger->error($e->getMessage(), ['exception' => $e]); - $mailerror_text = 'Error while sending email: Account not found.'; + $mailerror_text = 'Error while sending email: Account not found: '.$senderEmail; } if ($account === null) {