From 631e5c77ab636aa3e59129632cb09886c72fc2b6 Mon Sep 17 00:00:00 2001 From: Marcus Bointon Date: Wed, 1 May 2013 10:53:49 +0200 Subject: [PATCH] Don't add a reply-to unnecessarily, see #51 --- class.phpmailer.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/class.phpmailer.php b/class.phpmailer.php index 28880563..d0ee28a8 100644 --- a/class.phpmailer.php +++ b/class.phpmailer.php @@ -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; }