Re: Sendmail_from

From: Date: Wed, 06 Sep 2006 21:56:45 +0000
Subject: Re: Sendmail_from
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-241430@lists.php.net to get a copy of this message
D Sledge wrote:
         OS:  Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
web server: Apache 2.0 php version: 4.3.9 When I use the function mail(), the the from email address that is used is apache@<hostname>. I tried setting the sendmail_from directive in php.ini and the ServerAdmin directive in httpd.conf to something different but it still keeps using the same address. Is the a different directive I'm supposed to be setting to change the default from address?
What mta is on the server? If it's exim, you might need to adjust the 'trusted_user' line (see exim documentation). -- Postgresql & php tutorials http://www.designmagick.com/

« previous php.general (#241430) next »