From 1994184a8853f027f2717276795f7095636deebb Mon Sep 17 00:00:00 2001 From: cbka Date: Sat, 27 Mar 2021 19:38:42 +0100 Subject: [PATCH 1/3] Update Email.php Adding debugging and option to chose wheter auth is TRUE or FALSE --- engine/Notifications/Email.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/engine/Notifications/Email.php b/engine/Notifications/Email.php index 5a4a1379..9e607d38 100755 --- a/engine/Notifications/Email.php +++ b/engine/Notifications/Email.php @@ -315,8 +315,9 @@ class Email { if ($this->config['protocol'] === 'smtp') { $mailer->isSMTP(); + $mailer->SMTPDebug = $this->config['smtp_debug']; $mailer->Host = $this->config['smtp_host']; - $mailer->SMTPAuth = TRUE; + $mailer->SMTPAuth = $this->config['smtp_auth']; $mailer->Username = $this->config['smtp_user']; $mailer->Password = $this->config['smtp_pass']; $mailer->SMTPSecure = $this->config['smtp_crypto']; From bf57e028e61fdf7ccdb34514e1227531584125bd Mon Sep 17 00:00:00 2001 From: cbka Date: Sat, 27 Mar 2021 19:40:36 +0100 Subject: [PATCH 2/3] Update email.php --- application/config/email.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/application/config/email.php b/application/config/email.php index 166668d3..df79ff1d 100644 --- a/application/config/email.php +++ b/application/config/email.php @@ -7,6 +7,11 @@ $config['useragent'] = 'Easy!Appointments'; $config['protocol'] = 'mail'; // or 'smtp' $config['mailtype'] = 'html'; // or 'text' + +// $config['smtp_debug'] = '0'; // or '1' +// $config['smtp_auth'] = 'TRUE'; //or 'FALSE' for anonymous relay + +// $config['smtp_host'] = ''; // $config['smtp_host'] = ''; // $config['smtp_user'] = ''; // $config['smtp_pass'] = ''; From 015a01b58a7e03757d9b4ae096380539e7202010 Mon Sep 17 00:00:00 2001 From: cbka Date: Sat, 27 Mar 2021 19:56:40 +0100 Subject: [PATCH 3/3] Update email.php --- application/config/email.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/config/email.php b/application/config/email.php index df79ff1d..905cf010 100644 --- a/application/config/email.php +++ b/application/config/email.php @@ -9,7 +9,7 @@ $config['protocol'] = 'mail'; // or 'smtp' $config['mailtype'] = 'html'; // or 'text' // $config['smtp_debug'] = '0'; // or '1' -// $config['smtp_auth'] = 'TRUE'; //or 'FALSE' for anonymous relay +// $config['smtp_auth'] = TRUE; //or FALSE for anonymous relay NOTE: DONT USE QUOTES ' ! // $config['smtp_host'] = ''; // $config['smtp_host'] = '';