Actually tried that earlier. No difference in the result. Chris
At 10:48 PM 5/23/2002, you wrote: >dunno if this helps, but try using "\r\n" instead of just "\n" when you >create $headers > >-----Original Message----- >From: CDitty [mailto:[EMAIL PROTECTED]] >Sent: Friday, May 24, 2002 1:20 PM >To: [EMAIL PROTECTED] >Subject: [PHP] Mail Headers problem....... > > >I am writing a small email logging / forwarding script and am having >problems with the headers. I am successfully getting the MIME-Version and >Content-type, but when I insert them into the forwarded email message, the >headers show within the email itself. Below is the code I am using. > >$to = "$user_email[0]"; >$subj = "$Subject"; >$msg = "$Message"; > >$headers = "From: $From[1]\n"; >$headers .= "$Mime_Version\n"; >$headers .= "$Content_Type\n"; >mail($to, $subj, $msg, $headers); > >This is what the email looks like. > >Return-Path: <mail> >Received: (from mail@localhost) >by redhotsweeps.com (8.9.3/8.9.3) id VAA27003; >Thu, 23 May 2002 21:23:51 -0500 >Date: Thu, 23 May 2002 21:23:51 -0500 >Message-Id: <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: test >From: [EMAIL PROTECTED] >Status: > >Content-type: text/plain; charset="us-ascii"; format=flowed > >test 1234 > > >Can anyone give me any tips? > >Thanks > >CDitty > > > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php