[1038] Sender and return address set to pass spamfilters
This commit is contained in:
parent
e79c2d558e
commit
261ffdeb9a
1 changed files with 2 additions and 0 deletions
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue