mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-28 17:01:16 +00:00
Check if phpmailer is enabled
This commit is contained in:
@@ -723,7 +723,7 @@ class Utility
|
||||
$body .= '</body>' . $eol;
|
||||
$body .= '</html>' . $eol;
|
||||
|
||||
if (defined('PHPMAILER_ENABLED') || PHPMAILER_ENABLED === true) {
|
||||
if (PHPMAILER_ENABLED === true) {
|
||||
$mail = new \PHPMailer;
|
||||
|
||||
// Check to make sure the user has their settings correct.
|
||||
|
||||
Reference in New Issue
Block a user