Re: mail() & Bcc

From: Date: Wed, 04 Apr 2001 14:06:00 +0000
Subject: Re: mail() & Bcc
Groups: php.windows 
Request: Send a blank email to php-windows+get-6493@lists.php.net to get a copy of this message
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 = "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.

« previous php.windows (#6493) next »