RE: [PHP-WIN] bcc mail win32
| From: | Ross Fleming | Date: | Fri, 30 Nov 2001 09:21:19 +0000 |
| Subject: | RE: [PHP-WIN] bcc mail win32 | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-10663@lists.php.net to get a copy of this message | ||
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 <birthday@example.com>\r\n";
$headers .= "Cc: birthdayarchive@example.com\r\n";
$headers .= "Bcc: birthdaycheck@example.com\r\n";
/* and now mail it */
mail($to, $subject, $message, $headers);
-----Original Message-----
From: natesanden@hotmail.com [mailto:natesanden@hotmail.com]
Sent: 30 November 2001 08:57
To: php-windows@lists.php.net
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