title: Php Mailer problem - messages marked as spam -
body: <p>A few days ago I upgraded Php Mailer and now some email providers my messages mark as spam. This is what I see in the headers of the marked messages: </p>
  
  <pre><code>X-SpamTest-Info: {TO: header missing}
  </code></pre>
  
  <p>This is from my php file.</p>
  
  <pre><code>$mail-&gt;From       = $sender;
  $mail-&gt;FromName   = $sender_name;
  $mail-&gt;Subject    = $subject;
  $mail-&gt;Body       = $body;
  $mail-&gt;AddAddress($recipient,$recipient_name);
  $mail-&gt;AddReplyTo($replyto,"No-Reply");
  </code></pre>
  
  <p>Dont know how to add "to" header and can't understand how it's possible that "to" is missing but email arrives to the correct "to" address...</p>