mirror of
https://github.com/PHPMailer/PHPMailer.git
synced 2024-09-20 10:02:14 +02:00
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
Block a user