From b4e4cb686c98cf2a5a1a5732f4e9b2584c19ccca Mon Sep 17 00:00:00 2001 From: Cameron Date: Sat, 30 Apr 2016 15:33:38 -0700 Subject: [PATCH] Issue #1375 - SMTP send issue. --- e107_handlers/mail.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/e107_handlers/mail.php b/e107_handlers/mail.php index a9b6f1ffe..c5611a7d8 100644 --- a/e107_handlers/mail.php +++ b/e107_handlers/mail.php @@ -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;