Howto change email header in emails send from PHP

bvidinli bvidinli at gmail.com
Fri Sep 24 13:20:46 MSD 2010


php code:
mail("toemail at domain.com","subject","messagecontents","From: who at me.com");

so, headers is a php issue, and can be set in php mail function.
http://php.net/manual/en/function.mail.php


Bahattin,
ehcp Developer

On Fri, Sep 24, 2010 at 12:06 PM, Frank R. <fandaremail at gmail.com> 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 domain.com there?
>
> Thank You
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
>



More information about the nginx mailing list