Howto change email header in emails send from PHP

bvidinli bvidinli at
Fri Sep 24 13:20:46 MSD 2010

php code:
mail("toemail at","subject","messagecontents","From: who at");

so, headers is a php issue, and can be set in php mail function.

ehcp Developer

On Fri, Sep 24, 2010 at 12:06 PM, Frank R. <fandaremail at> wrote:
> Hello, all emails, which I send from PHP mail() have the header like:
> Received: from nginx by localhost with local (Exim 4.63)
>        (envelope-from <nginx at localhost>)
> How I can change the address to something like noreply at there?
> Thank You
> _______________________________________________
> nginx mailing list
> nginx at

More information about the nginx mailing list