title: PHP mail() - showing more addresses in "To" field than are actually sent to
body: <p>I'm working on a list server of sorts, and I'm using PHP's mail() function. I'm trying to figure out a way to have the recipient see multiple addresses in the To: field, without PHP actually sending to those addresses. For example:</p>
  
  <ul>
  <li><p>the email list "webmasters@company.com" should forward to "john@company.com" and "mary@company.com"</p></li>
  <li><p>an email is sent from an individual to "jack@agency.org" and "webmasters@company.com"</p></li>
  <li><p>the list server receives the email to "webmasters@company.com", and wants to forward it appropriately</p></li>
  <li><p>when John and Mary get the forwarded email in their inboxes, the "To: " field should show that it was sent to "jack@agency.org" and "webmasters@company.com"</p></li>
  </ul>
  
  <p>So my question is, how can I get PHP's mail function to actually send an email to ONLY "john@company.com" and "mary@company.com" but NOT to "jack@agency.org", while still showing "jack@agency.org" in the "To: " field in the email that John and Mary get?</p>
  
  <p>Is there some sort of header I can set that will show the address in the "To: " field but not actually send it to that address?</p>
  
  <p>EDIT: existing code would be something like this:</p>
  
  <pre><code>$to = "To: jack@agency.org, webmasters@company.org";
  $from = "From: bob@customer.ca";
  $new_headers = $to."\r\n".$from."\r\n"."Bcc: john@company.org, mary@company.org"."\r\n";
  
  mail("","Subject Here","message here", $new_headers);
  </code></pre>
  
  <p>This works and forwards it to John and Mary appropriately, but "jack@agency.org" will receive two copies of the email (one from the original sender and one from the forwarded copy).</p>