Re: 'CC' and 'BCC' in mail function

From: Date: Sat, 15 Jun 2002 14:27:26 +0000
Subject: Re: 'CC' and 'BCC' in mail function
References: 1 2  Groups: php.windows 
Request: Send a blank email to php-windows+get-14227@lists.php.net to get a copy of this message
Hi Markus Fischer has recently done much work on the mail() function. On win32 it should work a lot better than now. The improved function will probably show up in 4.3.0 and include Cc: and Bcc: support for windows. If you want to test before you can grab a snapshot from http://snaps.php.net/win32. If you find errors there or backward compatiblity problems the developers would be glad to hear from you (on bugs.php.net or on the qa mailing list). You'll find a lot of information about the work done with mail() in recent postings on news://news.php.net/php.qa. Christoph Stuart Dallas wrote: > On Friday, June 14, 2002 at 10:01:24 PM, Sridhar Moparthy wrote: >> Does any one know how to make mail() function to send mail to 'CC' >> and 'BCC' address. I have tried to keep 'CC' and BCC' in header, >> but >> it is not working. Mail function is sending the message to 'To' >> address but not to 'CC' and 'BCC'. <snip >> if (mail($to,$subject,$message,$header)) <snip> > > The mail function sends the message to the addresses in the first > parameter, so you need to specify all the users you want the message > to go to in $to. .

« previous php.windows (#14227) next »