mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 13:17:24 +02:00
Issue #1375 - SMTP send issue.
This commit is contained in:
@@ -326,11 +326,10 @@ class e107Email extends PHPMailer
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (vartrue($pref['mail_bounce_email'])) $this->Sender = $pref['mail_bounce_email'];
|
|
||||||
|
|
||||||
$this->FromName = $tp->toHTML(vartrue($pref['replyto_name'],$overrides['siteadmin']),'','RAWTEXT');
|
$this->FromName = $tp->toHTML(vartrue($pref['replyto_name'],$overrides['siteadmin']),'','RAWTEXT');
|
||||||
$this->From = $tp->toHTML(vartrue($pref['replyto_email'],$overrides['siteadminemail']),'','RAWTEXT');
|
$this->From = $tp->toHTML(vartrue($pref['replyto_email'],$overrides['siteadminemail']),'','RAWTEXT');
|
||||||
$this->WordWrap = 76; // Set a sensible default
|
$this->WordWrap = 76; // Set a sensible default
|
||||||
|
$this->Sender = (!empty($pref['mail_bounce_email'])) ? $pref['mail_bounce_email'] : $this->From;
|
||||||
|
|
||||||
$pref['mail_dkim'] = 1;
|
$pref['mail_dkim'] = 1;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user