April 4th, 2000, 05:34 PM
I have a slight problem with the mail() function in PHP. So far, everything works fine, except that my webhost seems to wrap around an ID (looks like firstname.lastname@example.org) and puts the contents of the message generated in the message body.
I would not mind too much except that this forced envelope does not show any Subject: line (also in the body).
My question: Is this a known problem, or am I using mail() incorrectly by the following source code
mail("$addresses[$index]","$Subject","$Body","From: $FromnReply-To: $From");
I would at least like to get a Subject: line in the header.
Any help is appreciated. Thanks!
April 17th, 2000, 11:03 AM
You can always try to force this by putting a "Subject: $subject" there you have "From: $From" now. This will force this line to appear in the header as well...