mail() & Bcc
| From: | Tomasz Abramowicz | Date: | Wed, 04 Apr 2001 13:58:11 +0000 |
| Subject: | mail() & Bcc | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-6492@lists.php.net to get a copy of this 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 = "t@spin.it";
$headers = "Bcc: t@proximaweb.net, proxima@interware.it\n";
$headers .= "From: newsletter@morositas.it\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.