September 24, 2010 05:26AM
php code:
mail("toemail@domain.com","subject","messagecontents","From: who@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@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@localhost>)
>
> How I can change the address to something like noreply@domain.com there?
>
> Thank You
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://nginx.org/mailman/listinfo/nginx
>

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Howto change email header in emails send from PHP

Frank R. September 24, 2010 05:10AM

Re: Howto change email header in emails send from PHP

bvidinli September 24, 2010 05:26AM

Re: Howto change email header in emails send from PHP

Frank R. September 24, 2010 05:52AM

Re: Howto change email header in emails send from PHP

bvidinli September 24, 2010 08:24AM

Re: Howto change email header in emails send from PHP

Frank R. September 24, 2010 10:20AM

Re: Howto change email header in emails send from PHP

António P. P. Almeida September 24, 2010 10:34AM

Re: Howto change email header in emails send from PHP

Maxim Dounin September 24, 2010 07:08AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 135
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready