From 261ffdeb9af0d05908f3dd4ee266638142128f2a Mon Sep 17 00:00:00 2001 From: Thomas S Date: Mon, 5 Apr 2021 22:58:37 +0200 Subject: [PATCH] [1038] Sender and return address set to pass spamfilters --- engine/Notifications/Email.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/engine/Notifications/Email.php b/engine/Notifications/Email.php index 5a4a1379..cdf3ff87 100755 --- a/engine/Notifications/Email.php +++ b/engine/Notifications/Email.php @@ -321,6 +321,8 @@ class Email { $mailer->Password = $this->config['smtp_pass']; $mailer->SMTPSecure = $this->config['smtp_crypto']; $mailer->Port = $this->config['smtp_port']; + $mailer->Sender = $settings['company_email']; + $mailer->SetFrom($settings['company_email'], $settings['company_name'], FALSE); } $mailer->IsHTML($this->config['mailtype'] === 'html');