title: phpmailer: Reply using only "Reply To" address
body: <p>I'm using phpmailer on my website and to help with spam issues I have created a mailbox to send these emails from (using SMTP).</p>
  
  <p>I have set the emails to come <strong>from</strong> the mailbox address and then I have added a <strong>reply to</strong> address for where I want the replies to go to:</p>
  
  <pre><code>$mail = new PHPMailer();
  
  $mail-&gt;IsSMTP();
  $mail-&gt;SMTPAuth   = true;
  $mail-&gt;SMTPSecure = 'tsl';
  $mail-&gt;SMTPDebug  = 1;
  $mail-&gt;Host       = EMAIL_HOST;
  $mail-&gt;Port       = EMAIL_PORT;
  $mail-&gt;Username   = EMAIL_USER;
  $mail-&gt;Password   = EMAIL_PASS;
  
  $mail-&gt;SetFrom('mailbox@email.com', 'Mailbox name');
  $mail-&gt;AddReplyTo('replyto@email.com', 'Reply to name');
  $mail-&gt;AddAddress('user@email.com', 'User name);
  </code></pre>
  
  <p>The emails send successfully and seem to get through the spam filters ok, <strong>but when I press reply it includes both the mailbox account and the reply to account</strong>.</p>
  
  <p>Is this what is meant to happen?  I only want the reply to address to appear when you press reply.  Is this even possible?</p>
  
  <p>Many thanks in advance for any help offered!</p>
  
  <hr>
  
  <p><strong>Edit:</strong></p>
  
  <p>Looking at the email headers it seems like the from address is getting included in the reply to field.  I have no idea why!</p>
  
  <pre><code>Date: Tue, 1 May 2012 11:16:25 +0100
  To: User name &lt;user@email.com&gt;
  From: Mailbox name &lt;mailbox@email.com&gt;
  Reply-to: Mailbox name &lt;mailbox@email.com&gt;, Reply to name &lt;replyto@email.com
  Subject: Email subject
  Message-ID: &lt;54c530c0d1f3ff33fc87c4c41c2c9ffd@localhost&gt;
  X-Priority: 3
  X-Mailer: PHPMailer 5.1 (phpmailer.sourceforge.net)
  MIME-Version: 1.0
  Content-Type: multipart/alternative;
       boundary="b1_54c530c0d1f3ff33fc87c4c41c2c9ffd"
  
  --b1_54c530c0d1f3ff33fc87c4c41c2c9ffd
  Content-Type: text/plain; charset = "iso-8859-1"
  Content-Transfer-Encoding: 8bit
  </code></pre>