mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-03 09:45:03 +02:00
add mailer error reporting
This commit is contained in:
parent
985ddda41f
commit
f81f3df700
1 changed files with 3 additions and 0 deletions
|
@ -154,6 +154,9 @@ class Message
|
|||
$mail->Body = $body;
|
||||
}
|
||||
$mail->send();
|
||||
if (!$mail->send()) {
|
||||
_log(Lang::T("Email not sent, Mailer Error: ") . $mail->ErrorInfo);
|
||||
}
|
||||
|
||||
//<p style="font-family: Helvetica, sans-serif; font-size: 16px; font-weight: normal; margin: 0; margin-bottom: 16px;">
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue