Re: Returnpath for mail
| From: | Manuel Lemos | Date: | Thu, 06 Jun 2002 17:17:34 +0000 |
| Subject: | Re: Returnpath for mail | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-100961@lists.php.net to get a copy of this message | ||
Hello,
On 06/06/2002 02:08 PM, Andy wrote:
I am wondering if it is possible to send email via the mail function with lets say adress_1 and then if the recipient clicks on return he will adress his email automaticly to adress_2. I found this in my docs, but does not work though: $mailHeaders .= "Return-Path: <".$adress_return.">\n"; // Return path for errors does anybody have an idea how to do that?Yes, you need to use sendmail -f switch. You may want to try this class that already does it for you if you specify the Return-Path in the list of headers: http://www.phpclasses.org/mimemessage -- Regards, Manuel Lemos