Re: two small issues with php mail
| From: | Stut | Date: | Mon, 19 Nov 2007 22:24:54 +0000 |
| Subject: | Re: two small issues with php mail | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-264814@lists.php.net to get a copy of this message | ||
Brad wrote:
You sayWrong bit. I also said...The use of BCC with the PHP mail function is pretty well-explained on the PHP manual page for said function.I say, No it doesn't, I tried everything on that page and it either parse error'ed or didn't work.
// $headers = 'bcc: 'kathyandrews@bellsouth.net';This should work. However, because you're assigning this to $headers rather than concatenating it you're trampling over the From line above. BTW, Bcc usually has a capital letter. Probably wouldn't cause any problems but has the potential to stop it working. Fin. -Stut -- http://stut.net/