title: email with php BCC and To relations and also spam issue
body: <p>i am having a issue with sending emails with cronjobs.
  actually i need to send email to all the recently joined users
  and so the emails are something like $to='acx1@xyz.com,acx2@xyz.com,acx3@xyz.com';</p>
  
  <p>here i need to send the mail to all the receipts but not to let them know that i have sent this mail to all these persons in receipt basically BCC them</p>
  
  <p>but the problem is that if i put the $to into BCC then what should i put in to function of mail </p>
  
  <p>if to is empty then it may be spamed </p>
  
  <p>i want to send this mail to all the receipts but when they check the headers they should see their email only</p>
  
  <p>and one more issue please let me know if i am using correct headers ?
  because sometimes my email is spammed by gmail</p>
  
  <pre><code>   $from='tests.com';
     $to='contact@test.com';
     $message="&lt;body&gt; some html data with inline css &lt;/body&gt;"
  
    $subject="Hii this is test";
    $headers .= 'MIME-Version: 1.0' . "\r\n"; 
    $headers .= 'Content-type: text/html; charset=iso-8859-1'."\r\n";
    $headers .= "From: $from &lt;contact@test.com&gt;" . "\r\n";
    $headers .= "Reply-To: contact@test.com" . "\r\n";
    $headers .= 'BCC:   acx1@xyz.com,acx2@xyz.com,acx3@xyz.com' . "\r\n";
    mail($to, $subject, $message, $headers);  
  </code></pre>