This commit is contained in:
Jephté Clain 2025-10-27 18:15:05 +04:00
parent fd10ad3fb2
commit bc0f76e6dc

View File

@ -173,7 +173,8 @@ class mailer {
$tos = str::join(",", $tos);
msg::debug("Sending to $tos");
if (!$mailer->send()) {
throw new MailerException("erreur d'envoi du mail", $mailer->ErrorInfo);
throw (new MailerException("erreur d'envoi du mail"))
->setTechMessage($mailer->ErrorInfo);
}
}