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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php