From: Alan Knowles Date: Thu, 18 Mar 2021 06:24:48 +0000 (+0800) Subject: auth settings X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=974b8d930b3b36dd3c605187561fc1c02c262136 auth settings --- 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'];