[PHP] Re: MAIL to a Bcc: ??? From: Adam (adam <email protected>)
Date: 07/11/01

> How do I change the value of the "TO:" in a mail() function to a value
> of Bcc: ?
>
> Or at least trick the mail to a Bcc: So the recipients emails aren't
> shown?

if you use a database to manage the emails to be sent to, perhaps you could
create a repeating statement that sends mail to each person seperatly?

<?php

$mail = mysql_query("SELECT user_email FROM mailing_list");

while ($mailarray = mysql_fetch_array($mail)) {
mail($mailarray[user_email], $subject, $content);
}

?>

something like that?

-Adam

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>