Haven't tried, but the win version shouldn't make a difference, SMTP is
the same across the board.  However I think you may still need a $to
address, but you can just make that yourself.

Ross


$headers  = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";

/* additional headers */
$headers .= "From: Birthday Reminder <[EMAIL PROTECTED]>\r\n";

$headers .= "Cc: [EMAIL PROTECTED]\r\n";
$headers .= "Bcc: [EMAIL PROTECTED]\r\n";

/* and now mail it */
mail($to, $subject, $message, $headers);

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: 30 November 2001 08:57
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] bcc mail win32


I read that you can't send BCC mail on a win32 server with PHP. 
Is that true? and if so, is there some sort of work-around or a 
3rd party add-on that will allow this? I am running a Win2K 
server with PHP4, and IIS 5.0 and i'm creating a site that 
needs to allow admins, to send identical emails to multiple 
clients and BCC is the only way I know of.

Any suggestions would be greatly appreciated. Thanks!

Nate Sanden


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