In that case, add 'To:' header also to your $headers variable... see the line
added/changed by me below (marked with *> ).
Regards, | Linux
Urmil Parikh | Is it really safe to turn on your computer?
-----Original Message-----
thank you for your help, but i seem to be still doing something wrong.
i tried this, and yes i got the email, but i got to see all of the emails.
the mail server did not hide the two emails.
$to = "[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]";
*> $headers = "To: [EMAIL PROTECTED]";
*> $headers .= "Bcc: [EMAIL PROTECTED], [EMAIL PROTECTED]\n";
$headers .= "From: [EMAIL PROTECTED]\n";
$headers .= "Content-Type: text/html; charset=iso-8859-1\n";
$body = "hello";
mail( $to, $subject, $body, $headers );
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]