From 8625d96c04fc1a0280c0518336b8997a899c6821 Mon Sep 17 00:00:00 2001 From: edward Date: Thu, 14 Jul 2016 14:12:54 +0800 Subject: [PATCH] NotifySend.php --- NotifySend.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/NotifySend.php b/NotifySend.php index f924a36d..67bd0804 100644 --- a/NotifySend.php +++ b/NotifySend.php @@ -358,8 +358,6 @@ class Pman_Core_NotifySend extends Pman foreach($mxs as $dom) { - - if (!isset($ff->Mail['helo'])) { $this->errorHandler("config Mail[helo] is not set"); } @@ -378,6 +376,9 @@ class Pman_Core_NotifySend extends Pman // if the host is the mail host + it's authenticated add auth details // this normally will happen if you sent Pman_Core_NotifySend['host'] if (isset($ff->Mail['host']) && $ff->Mail['host'] == $dom && !empty($ff->Mail['auth'] )) { + + + $mailer->auth = true; $mailer->username = $ff->Mail['username'] ; $mailer->password = $ff->Mail['password'] ; -- 2.39.2