From 974b8d930b3b36dd3c605187561fc1c02c262136 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 18 Mar 2021 14:24:48 +0800 Subject: [PATCH] auth settings --- NotifySend.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NotifySend.php b/NotifySend.php index fa0c575c..2c567e7e 100644 --- a/NotifySend.php +++ b/NotifySend.php @@ -428,8 +428,8 @@ class Pman_Core_NotifySend extends Pman $mailer->host = $server; - $mailer->auth = true; - $mailer->username = $settings['username'];; + $mailer->auth = isset($settings['auth']) ? $settings['auth'] : true; + $mailer->username = $settings['username']; $mailer->password = $settings['password']; if (isset($settings['port'])) { $mailer->port = $settings['port']; -- 2.39.2