Return Path
| From: | sub at pudlz dot com | Date: | Sat, 06 Aug 2005 05:44:42 +0000 |
| Subject: | Return Path | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-220132@lists.php.net to get a copy of this message | ||
I don't seem to be able to set the "return path" using the mail() function. I
can't figure out why "from" will let me set it, but not the return path.
$headers = 'From: sender@pudlz.com' . "\r\n" .
'Return-path: sender@pudlz.com' . "\r\n" .
'X-Mailer: PHP/' . phpversion();
mail($email, $subject, $message, $headers);
Any thoughts?
Andrew Darrow
Kronos1 Productions
www.pudlz.com