mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-25 14:10:28 +01:00
Show account if error in SystemMailer
This commit is contained in:
parent
d175dbc85e
commit
be14c7b8df
@ -124,7 +124,7 @@ final class SystemMailer
|
|||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
$account = null;
|
$account = null;
|
||||||
$this->logger->error($e->getMessage(), ['exception' => $e]);
|
$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) {
|
if ($account === null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user