mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
This reverts commit d1a0ccda46.
This commit is contained in:
@@ -998,7 +998,7 @@ function send_mail($emails, $subject, $message, $html = false)
|
||||
}
|
||||
$mail->send();
|
||||
return true;
|
||||
} catch (\PHPMailer\PHPMailer\Exception $e) {
|
||||
} catch (phpmailerException $e) {
|
||||
return $e->errorMessage();
|
||||
} catch (Exception $e) {
|
||||
return $e->getMessage();
|
||||
|
||||
Reference in New Issue
Block a user