- Sets "sender" email header for SMTP/PHPMail methods
This commit is contained in:
@ -45,6 +45,7 @@ class PHPMail {
|
|||||||
->setFrom(array(
|
->setFrom(array(
|
||||||
$this->sender['from_email'] => $this->sender['from_name']
|
$this->sender['from_email'] => $this->sender['from_name']
|
||||||
))
|
))
|
||||||
|
->setSender($this->sender['from_email'])
|
||||||
->setReplyTo(array(
|
->setReplyTo(array(
|
||||||
$this->reply_to['reply_to_email'] => $this->reply_to['reply_to_name']
|
$this->reply_to['reply_to_email'] => $this->reply_to['reply_to_name']
|
||||||
))
|
))
|
||||||
|
@ -66,6 +66,7 @@ class SMTP {
|
|||||||
->setFrom(array(
|
->setFrom(array(
|
||||||
$this->sender['from_email'] => $this->sender['from_name']
|
$this->sender['from_email'] => $this->sender['from_name']
|
||||||
))
|
))
|
||||||
|
->setSender($this->sender['from_email'])
|
||||||
->setReplyTo(array(
|
->setReplyTo(array(
|
||||||
$this->reply_to['reply_to_email'] => $this->reply_to['reply_to_name']
|
$this->reply_to['reply_to_email'] => $this->reply_to['reply_to_name']
|
||||||
))
|
))
|
||||||
|
Reference in New Issue
Block a user