[PHP] Re: mail() source code

2002-05-28 Thread Manuel Lemos

Hello,

On 05/28/2002 08:27 AM, Anthony Rodriguez wrote:
 When mail() sends, via sendmail,  an e-mail to an invalid address, it's 
 returned to the envelope-sender (e.g.: the ISP), NOT returned to the 
 from address, or the return-path address, etc. that are included 
 with mail()'s 4th parameter.

The 4th parameter is not for putting headers but rather to pass 
arguments to sendmail. The -f argument sets the return path which is the 
same thing as the envelope sender. Of course this only works Unix. On 
Windows you need to use the sendmail_form option of php.ini

-- 

Regards,
Manuel Lemos


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




Re: [PHP] Re: mail() source code

2002-05-28 Thread Miguel Cruz

On Tue, 28 May 2002, Manuel Lemos wrote:
 On 05/28/2002 08:27 AM, Anthony Rodriguez wrote:
 When mail() sends, via sendmail,  an e-mail to an invalid address, it's 
 returned to the envelope-sender (e.g.: the ISP), NOT returned to the 
 from address, or the return-path address, etc. that are included 
 with mail()'s 4th parameter.
 
 The 4th parameter is not for putting headers but rather to pass 
 arguments to sendmail.

That's the 5th parameter, I think. The 4th is for headers.

miguel


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