title: php mail bcc multiple recipients
body: <p>How do I make a bcc mail?
  If I send that mail, It shows me all the recipients!</p>
  
  <pre><code>$to=array();
  $members_query = mysql_query("select email from members");
  while( $row = mysql_fetch_array($members_query) )
  {
      array_push($to, $row['email']);
  }
  
  // To send HTML mail, the Content-type header must be set
  $headers  = 'MIME-Version: 1.0' . "\r\n";
  $headers .= 'Content-type: text/html; charset=UTF-8' . "\r\n";
  
  // Additional headers
  //$headers .= 'To: '.$newName.' &lt;'.$newEmail.'&gt;' . "\r\n";
  $headers .= 'From: SmsGratisan.com &lt;admin@website.com' . "\r\n";
  
  
  mail(implode(',', $to), $title, $content, $headers);
  </code></pre>
  
  <p>Thanks!</p>