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?
Thanx,
Andy
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
I stand to be corrected, but I think you mean the user hits "reply"
rather than "return", in which case it is "Reply-To" you need. I think
"Return-Path" is for error messages for undeliverable mail.
Now someone is probably going to tell me I'm quite wrong...
Regards
Chris