[1038] Sender and return address set to pass spamfilters

This commit is contained in:
Thomas S 2021-04-05 22:58:37 +02:00
parent e79c2d558e
commit 261ffdeb9a

View file

@ -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');