F/U on sendmail return-path (not 4 newbies)

From: Date: Fri, 03 May 2002 17:27:08 +0000
Subject: F/U on sendmail return-path (not 4 newbies)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-96181@lists.php.net to get a copy of this message
I've tried the "From" header (4th parameter) in mail(). It doesn't work. My ISP does run Apache but I have no access to their files. Thanks! At 06:56 PM 5/3/2002 +0100, you wrote:
On 3 May 2002 at 12:48, Anthony Rodriguez wrote: PROBLEM 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 value using ini_set(). Alternatively, if you are using Apache, you can set it in a .htaccess file. -- Stuart


« previous php.general (#96181) next »