In article <p05100304b802cdc3b801@[212.247.198.195]>, [EMAIL PROTECTED] (Per Hugosson) wrote:
> 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 adress. What do I > do wrong? > > This is my script: > > ><?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: > >$noinfo\n Comments: $comments"); > >?> Try changing the line terminators from "\n" to (RFC-compliant) "\r\n". -- CC -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]