forked from mirrors/easyappointments
[1038] Sender and return address set to pass spamfilters
This commit is contained in:
parent
a3d6d473fa
commit
5d8d60a20f
1 changed files with 2 additions and 0 deletions
|
@ -322,6 +322,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