On 3 May 2002 at 12:48, Anthony Rodriguez wrote:
> When a php script uses mail() and sendmail, if the e-mail address is
> not right, the e-mail is returned to the envelope sender (the hosting
> provider), NOT to the "From", "Reply-To",  "Return-Path", or any other
> additional headers included in mail().
> Apparently, this problem is faced by any user who utilizes a hosting
> provider.

The envelope address can be set on a per script basis by setting the sendmail_from 
using ini_set(). Alternatively, if you are using Apache, you can set it in a .htaccess 


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

Reply via email to