Check if phpmailer is enabled

This commit is contained in:
DariusIII
2017-08-08 22:51:02 +02:00
parent bb6fe855a2
commit 646463bc33
+1 -1
View File
@@ -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.