Re: [PHP] Returnpath for mail

2002-06-06 Thread Adam Voigt

You mean like the Reply-to:[EMAIL PROTECTED] header?

Adam Voigt
[EMAIL PROTECTED]

On Thu, 2002-06-06 at 13:08, andy wrote:
 Hi there,
 
 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
 
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Returnpath for mail

2002-06-06 Thread Pushkar Pradhan

I think you have to use a Reply-To header when sending your mail. The
recipient's mail program will prompt him to use the reply to address
rather than the from address.
 Hi there,

 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



 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php


-Pushkar S. Pradhan


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Returnpath for mail

2002-06-06 Thread Chris Hewitt

Andy,

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

andy wrote:

Hi there,

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






-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php