diff --git a/lib/Mailer/Methods/PHPMail.php b/lib/Mailer/Methods/PHPMail.php index 140587a0c9..d8e7904aa9 100644 --- a/lib/Mailer/Methods/PHPMail.php +++ b/lib/Mailer/Methods/PHPMail.php @@ -45,6 +45,7 @@ class PHPMail { ->setFrom(array( $this->sender['from_email'] => $this->sender['from_name'] )) + ->setSender($this->sender['from_email']) ->setReplyTo(array( $this->reply_to['reply_to_email'] => $this->reply_to['reply_to_name'] )) diff --git a/lib/Mailer/Methods/SMTP.php b/lib/Mailer/Methods/SMTP.php index c92168b1f1..f3bbda4b97 100644 --- a/lib/Mailer/Methods/SMTP.php +++ b/lib/Mailer/Methods/SMTP.php @@ -66,6 +66,7 @@ class SMTP { ->setFrom(array( $this->sender['from_email'] => $this->sender['from_name'] )) + ->setSender($this->sender['from_email']) ->setReplyTo(array( $this->reply_to['reply_to_email'] => $this->reply_to['reply_to_name'] ))