Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

php mail header patch

Discussion in 'E-mail Discussions' started by hostserver, Sep 13, 2005.

  1. hostserver

    hostserver Active Member

    May 27, 2005
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello Support Cpanel
    Whether tell there will be a support of a patch in version Cpanel?

    This is a patch to add an informational header to messages sent from PHP via the mail() function. This can help to track which script on a server was used to send a message, and which client caused it to be sent.

    The header added has the form:

    X-PHP-Script: <servername><php-self> for <remote-addr>

    For example:

    X-PHP-Script: for

    If the connection appears to have come via a proxy cache (i.e. has an "X-Forwarded-For" header), is a list of addresses (the addresses in X-Forwarded-For, then the 'real' remote address).


Share This Page