mail() using "Return-Path:" and "Error-To:"....
| From: | Scott Fletcher | Date: | Wed, 19 Feb 2003 16:39:43 +0000 |
| Subject: | mail() using "Return-Path:" and "Error-To:".... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-136205@lists.php.net to get a copy of this message | ||
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--