Hi,

You have to include *all* address in $to variable, including those appearing in
'Bcc:'. The mail server will take care of hiding those addresses.

Regards,       | Linux
Urmil Parikh   | Is it really safe to turn on your computer?



-----Original Message-----

I cant seem to get bcc to work, ive tried it all,
changeing case of the letters, putting emails between<>,
copy&pasteing successful headers from my normal mail
client.. but it just doesnt feel like working, the person
$to receives the email. but the bcc dont. all of the emails
im using as test are my accounts, and work properly.

the machine is: a NT4.0, IIS4.0, with php4.0.2 (cgi)
and its config. correctly in the php.ini.

    $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 );

tnx,
t.

ps. please help, ive already ripped out all my hair.


-- 
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]

Reply via email to