0
0
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:
Marcus Bointon 2013-05-01 10:53:49 +02:00
parent 019499efc3
commit 631e5c77ab

View File

@ -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;
}