Fix Bug email

This commit is contained in:
Ibnu Maksum 2024-09-25 15:02:51 +07:00
parent 6462572fb8
commit e4d3aff618
No known key found for this signature in database
GPG Key ID: 7FC82848810579E5

View File

@ -153,7 +153,6 @@ class Message
$mail->isHTML(false); $mail->isHTML(false);
$mail->Body = $body; $mail->Body = $body;
} }
$mail->send();
if (!$mail->send()) { if (!$mail->send()) {
_log(Lang::T("Email not sent, Mailer Error: ") . $mail->ErrorInfo); _log(Lang::T("Email not sent, Mailer Error: ") . $mail->ErrorInfo);
} }