RE: [PHP] Problem with From: and Reply to:
| From: | Richard Heyes | Date: | Mon, 29 Oct 2001 11:19:22 +0000 |
| Subject: | RE: [PHP] Problem with From: and Reply to: | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-72703@lists.php.net to get a copy of this message | ||
> ><?php
> >mail("press@something.se", "Press Picture Download",
> >"From: $emailadress\n
> >X-Originating-IP: [$REMOTE_ADDR]\n
> >Content-Type: text/plain; charset=iso-8859-1\n
> >Reply-To: $emailadress\n\n Name: $name\n Company: $company\n Adress:
> >$adress\n Email: $emailadress\n Business: $business\n Send info:
> >$noinfo\n Comments: $comments");
> >?>
You appear to be missing the body argument, which goes between the subject
and header arguments.
--
Richard Heyes
http://www.phpguru.org/frederick/
"The good thing about American-English is that you can arbitrarily make up
words if you're stuck in the middle of a sentence with no way out"