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