1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 12:20:44 +02:00

Issue #1375 - SMTP send issue.

This commit is contained in:
Cameron
2016-04-30 15:33:38 -07:00
parent 46623facbb
commit b4e4cb686c

View File

@@ -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->From = $tp->toHTML(vartrue($pref['replyto_email'],$overrides['siteadminemail']),'','RAWTEXT');
$this->WordWrap = 76; // Set a sensible default
$this->Sender = (!empty($pref['mail_bounce_email'])) ? $pref['mail_bounce_email'] : $this->From;
$pref['mail_dkim'] = 1;