Date: 07/11/01
- Next message: Bob Horton: "[PHP] ODBC Function equivalent to MySql_Fetch_Array"
- Previous message: Adam: "Re: [PHP] What the heck is this"
- In reply to: Marcus James Christian: "[PHP] MAIL to a Bcc: ???"
- Next in thread: Sebastian Wenleder: "Re: [PHP] MAIL to a Bcc: ???"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> 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>
- Next message: Bob Horton: "[PHP] ODBC Function equivalent to MySql_Fetch_Array"
- Previous message: Adam: "Re: [PHP] What the heck is this"
- In reply to: Marcus James Christian: "[PHP] MAIL to a Bcc: ???"
- Next in thread: Sebastian Wenleder: "Re: [PHP] MAIL to a Bcc: ???"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

