RE: [PHP-WIN] mail() & Bcc

From: Date: Wed, 04 Apr 2001 14:40:21 +0000
Subject: RE: [PHP-WIN] mail() & Bcc
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-6495@lists.php.net to get a copy of this message
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 = "t@spin.it, t@proximaweb.net, proxima@interware.it"; *> $headers = "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 );

« previous php.windows (#6495) next »