Don't add a reply-to unnecessarily, see #51
This commit is contained in:
parent
019499efc3
commit
631e5c77ab
|
|
@ -738,9 +738,6 @@ class PHPMailer {
|
|||
$this->From = $address;
|
||||
$this->FromName = $name;
|
||||
if ($auto) {
|
||||
if (empty($this->ReplyTo)) {
|
||||
$this->AddAnAddress('Reply-To', $address, $name);
|
||||
}
|
||||
if (empty($this->Sender)) {
|
||||
$this->Sender = $address;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue