This is a discussion on Re: [PHP] two small issues with php mail within the PHP General forums, part of the PHP Programming Forums category; Brad wrote: > You say > >> The use of BCC with the PHP mail function is pretty well-...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Brad wrote:
> You say > >> 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. Wrong bit. I also said... > // $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/ |
|
|||
|
Why is this?
It makes no sense? Can anyone show me where an "order of operations" for php mail might be hidden? Or is this "top secret" information requiring clearance "which I have"? ################################################ Wrong bit. I also said... > // $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 ############################################### -----Original Message----- From: Stut [mailto:stuttle@gmail.com] Sent: Monday, November 19, 2007 5:25 PM To: Brad Cc: php-general@lists.php.net Subject: Re: [php] two small issues with php mail Brad wrote: > You say > >> 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. Wrong bit. I also said... > // $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/ No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.0/1137 - Release Date: 11/18/2007 5:15 PM No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.16.0/1137 - Release Date: 11/18/2007 5:15 PM |