From: Roland Häder Date: Fri, 1 Feb 2008 19:12:28 +0000 (+0000) Subject: mail delipery fixed X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=653e332a951a3790b3d439b10e041d1aaa39f5b9;p=mailer.git mail delipery fixed --- diff --git a/0.2.1/inc/functions.php b/0.2.1/inc/functions.php index 7088c4c07c..f997c88d24 100644 --- a/0.2.1/inc/functions.php +++ b/0.2.1/inc/functions.php @@ -430,7 +430,7 @@ Message : ".$MSG." // Check if legacy or PHPMailer command // @private function CHECK_PHPMAILER_USAGE() { - return (((defined('SMTP_HOSTNAME')) && (defined('SMTP_USER')) && (defined('SMTP_PASSWORD'))) || ((SMTP_HOSTNAME != "") && (SMTP_USER != ""))); + return ((defined('SMTP_HOSTNAME')) && (defined('SMTP_USER')) && (defined('SMTP_PASSWORD')) && (SMTP_HOSTNAME != "") && (SMTP_USER != "")); } /* @@ -445,6 +445,7 @@ function SEND_RAW_EMAIL ($to, $subject, $msg, $from) { // get new instance $mail = new PHPMailer(); + $mail->PluginDir = PATH."inc/phpmailer/"; $mail->IsSMTP(); $mail->SMTPAuth = true;