Re: mail() using "Return-Path:" and "Error-To:"....

From: Date: Wed, 19 Feb 2003 17:52:08 +0000
Subject: Re: mail() using "Return-Path:" and "Error-To:"....
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-136222@lists.php.net to get a copy of this message
Okay, saw the other posting I made earlier today and someone spoke about using the 5th parameter, '-fuser@domain.com'. 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" <scott@abcoa.com> wrote in message news:20030219163247.41309.qmail@pb1.pair.com... > 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: test1@test.com\r\n"; > $Header .= "Return-Path: test1@test.com\r\n"; > $Header .= "Error-To: test1@test.com\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(test@test.com,"test","This is a test....",$Header); > --clip-- > >

« previous php.general (#136222) next »