RE: [PHP] two small issues with php mail
| From: | Brad | Date: | Tue, 20 Nov 2007 00:59:58 +0000 |
| Subject: | RE: [PHP] two small issues with php mail | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-264824@lists.php.net to get a copy of this message | ||
Thank you so much!
That really helps and makes sense!
Thank you.
I will try that now
Concatenate with the dot will not cancel them out!
Now this makes sense!
And clears up some other questions I had!.
Thank you.
-----Original Message-----
From: Philip Thompson [mailto:philthathril@gmail.com]
Sent: Monday, November 19, 2007 7:00 PM
To: php-general@lists.php.net
Subject: Re: [PHP] two small issues with php mail
On Nov 19, 2007 5:52 PM, Brad <brads@ftnco.com> wrote:
> Why are you being to belligerent?
> English 101-104 I have aced.
> Top secret security clearance I maintain.
> Concatenate I know well (why would I combine the from, and the bcc?)
I will refrain from the rest of the posts/slams and stick to your question
in the (...).
"From" and "Bcc" are *BOTH* part of the headers - that's why you want to
concatenate them. By not using the . (dot), you are over-writing the "From"
line.
Bad/Pointless assignment:
$headers = "From: ...";
$headers = "Bcc: ...";
Good/Useful assignment:
$headers = "From: ...";
$headers .= "Bcc: ...";
Good luck.
~Philip
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