Re: need to alter FROM address when sending with PHP forms

From: Date: Fri, 08 Jun 2007 02:19:08 +0000
Subject: Re: need to alter FROM address when sending with PHP forms
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-256337@lists.php.net to get a copy of this message
On Thu, 2007-06-07 at 22:03 -0400, Dylan Bouterse wrote: > My company has a RH ES4 web server running apache/2.2.2 and PHP 5.1.4. > Our PHP programmer has developed quite a few PHP email forms and each > time an email is sent, the FROM: address is > apache-user@webserver.domain.com. I don't know if this is a PHP > problem or apache problem (or even a sendmail problem for that matter) > so I am asking both lists for help. I have tried lookup up apache docs > and PHP docs to alter the FROM: address to no avail. No matter what I > and my programmer try in PHP or apache the from address stays coming > from the user apache runs as @webserver.domain.com (obviously I mean > the FQDN of the server). We would like to be able to alter the FROM: > address per form as we should be able to do in PHP. If there is a PHP > fix for this any help would be appreciated. If this is definitely NOT > a PHP problem, please let me know and I will move on from there. Thank > you. Have him set the "From:" header when sending the email. Cheers, Rob. -- .------------------------------------------------------------. | InterJinn Application Framework - http://www.interjinn.com | :------------------------------------------------------------: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `------------------------------------------------------------'

« previous php.general (#256337) next »