Re: two small issues with php mail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Nov 19, 2007 5:52 PM, Brad <brads@xxxxxxxxx> 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

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux