mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-01 04:12:22 +03:00
Merge pull request #1039 from Tthecreator/1038_email_fix
[1038] Sender and return address set to pass spamfilters
This commit is contained in:
commit
a0d61449cc
1 changed files with 2 additions and 0 deletions
|
@ -322,6 +322,8 @@ class Email {
|
||||||
$mailer->Password = $this->config['smtp_pass'];
|
$mailer->Password = $this->config['smtp_pass'];
|
||||||
$mailer->SMTPSecure = $this->config['smtp_crypto'];
|
$mailer->SMTPSecure = $this->config['smtp_crypto'];
|
||||||
$mailer->Port = $this->config['smtp_port'];
|
$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');
|
$mailer->IsHTML($this->config['mailtype'] === 'html');
|
||||||
|
|
Loading…
Reference in a new issue