Okay, saw the other posting I made earlier today and someone spoke about using the 5th parameter, '[EMAIL PROTECTED]'. So, I tried it and it work with the "Return-Path:" and "Error-To:"... Finally!!! I have been working on the sendmail problem for a week and now I'm glad to see it coming to an end.....
"Scott Fletcher" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hiya fellas!!!! > > I'm doing the test on sending emails and what I found is that I haven't > got these two to to work which is "Return-Path:" and "Error-To:".... Does > anyone know why does it not work??? Here's my sample codes.... > > --clip-- > $Header = "From: [EMAIL PROTECTED]\r\n"; > $Header .= "Return-Path: [EMAIL PROTECTED]\r\n"; > $Header .= "Error-To: [EMAIL PROTECTED]\r\n"; > $Header .= "MIME-Version: 1.0\r\n"; > $Header .= "Content-type: text/plain; charset=iso-8859-1\r\n"; > $Header .= "X-Priority: 3\r\n"; > $Header .= "X-MSMail-Priority: Normal\r\n"; > $Header .= "X-Mailer: PHP ".phpversion()."\r\n"; > > mail([EMAIL PROTECTED],"test","This is a test....",$Header); > --clip-- > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php