[PHP] Problem with From: and Reply to:

2001-10-29 Thread Per Hugosson
Hi, I´m using php to send form data from our web page. When a visitor fills in the form he adds his email address, but I cant get it to show up in the From:-line. Instead I get From: Apache... which is totally wrong of course. Our auto-reply goes to [EMAIL PROTECTED] instead of to the senders

RE: [PHP] Problem with From: and Reply to:

2001-10-29 Thread Richard Heyes
?php mail([EMAIL PROTECTED], 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: