Re: [PHP] Mail fifth parameter

2004-03-07 Thread Raditha Dissanayake
Hi, I am no expert on sendmail configuration but my little knowledge tells me sendmail shouldn't change any headers that are passed to it if it is configured properly. joel boonstra wrote: On Sun, Mar 07, 2004 at 09:51:28AM +0600, Raditha Dissanayake wrote: It's an often overlooked fact that

Re: [PHP] Mail fifth parameter

2004-03-06 Thread joel boonstra
On Sun, Mar 07, 2004 at 09:51:28AM +0600, Raditha Dissanayake wrote: > It's an often overlooked fact that you can pass additional headers in > the fourth parameter. I do belive you should use \n and not \r\n > then your code will look like > > mail("[EMAIL PROTECTED]", "object", $message, >

Re: [PHP] Mail fifth parameter

2004-03-06 Thread Jason Davidson
\r\n is good :) J Raditha Dissanayake <[EMAIL PROTECTED]> wrote: > > It's an often overlooked fact that you can pass additional headers in > the fourth parameter. I do belive you should use \n and not \r\n > then your code will look like > > mail("[EMAIL PROTECTED]", "object", $message, >

Re: [PHP] Mail fifth parameter

2004-03-06 Thread Raditha Dissanayake
It's an often overlooked fact that you can pass additional headers in the fourth parameter. I do belive you should use \n and not \r\n then your code will look like mail("[EMAIL PROTECTED]", "object", $message, "From: [EMAIL PROTECTED] ". "Reply-To:[EMAIL PROTECTED]". "Ret

Re: [PHP] Mail fifth parameter

2004-03-06 Thread Marek Kilimajer
Enrico Comini wrote: I have to send a email to a server where is very important the "Return-Path" to match the identity. If I use mail("[EMAIL PROTECTED]", "object", $message,"From: [EMAIL PROTECTED]". "Reply-To:[EMAIL PROTECTED]" ."Return-Path: [EMAIL PROTECTED]); I see in the received message th

Re: [PHP] Mail fifth parameter

2004-03-06 Thread Jason Davidson
check your logs sendmail mangles the headers, in particular return-path.. this is a horrible thing, i had a hell of a time with almost the same problem.. investigate sendmail. Jason "Enrico Comini" <[EMAIL PROTECTED]> wrote: > > > > I have to send a email to a server where is very import