Re: MAIL to a Bcc: ???
| From: | Adam | Date: | Wed, 11 Jul 2001 06:44:32 +0000 |
| Subject: | Re: MAIL to a Bcc: ??? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-57313@lists.php.net to get a copy of this message | ||
> 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