mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-18 08:38:29 +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->Body = $body;
|
||||||
}
|
}
|
||||||
$mail->send();
|
$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;">
|
//<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