Re: mail() and Sender: field
| From: | Jason Wong | Date: | Sun, 28 Sep 2003 06:34:09 +0000 |
| Subject: | Re: mail() and Sender: field | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-164151@lists.php.net to get a copy of this message | ||
On Sunday 28 September 2003 14:26, Adam Whitehead wrote:
> I'm having a problem using the mail() function of PHP. It seems to vary
> between platforms (ie. this problem doesn't not occur on my Win32
> development platform, but does on my Linux production server).
>
> I'm sending mail using the mail() function and including a "From:" and
> "Reply-To:" header.
>
> Usually this is sufficient to ensure that receipients will see that the
> mail is from the desired address I included in the From: header.
>
> However on my Linux server (PHP 4.3.2/Sendmail 8.11.6), something is
> automatically adding a "Sender: " field which is populated with the
> address of the apache user
> (apache@my.hostname) -- so this appears to the e-mail recipient as
> From: apache@my.hostname ON BEHALF OF [the name/address i specified in
> From]
>
> Any idea what is causing this, and how I might be able to disable it?
manual > mail() > example 3
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
The nozzle behind the sprayer tank will be the first one to plug
-- The Law of Inverse Visibility
*/