[PATCH] Add information header to mail()

From: Date: Fri, 26 Mar 2004 12:05:48 +0000
Subject: [PATCH] Add information header to mail()
Groups: php.internals 
Request: Send a blank email to internals+get-8763@lists.php.net to get a copy of this message
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: www.example.com/~user/testapp/send-mail.php for 10.0.0.1 http://www.lancs.ac.uk/~steveb/php-mail-header-patch/ Steve.

« previous php.internals (#8763) next »