]> granicus.if.org Git - php/commit
[DOC]
authorIlia Alshanetsky <iliaa@php.net>
Fri, 9 Jan 2009 14:59:30 +0000 (14:59 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Fri, 9 Jan 2009 14:59:30 +0000 (14:59 +0000)
commit905a5c0590fcb266e0adad0527de681418f0d73f
treefc293d87fe7dfa6dafb7cb30aa9f07bd02474203
parent7d3d47fa272f291f7522581d814ece245b5df597
[DOC]
Added mail logging functionality that allows logging of mail sent via
mail() function

THe logging functionality is disabled by default but can be enabled on a
per-directory or globaly via 2 INI settings.

The mail.log directive allows you to specify the file where each call to
mail() will be logged. The log file will contain the path and line # of the
calling script in addition to all of the headers indicated by the user.

The mail.add_x_header directive will introduce a X-PHP-Originating-Script
header that will contain the file name (no path) of the calling script and
the uid of the script. This combination should be sufficient for the admin
to locate the sending script.
NEWS
ext/standard/mail.c
main/main.c
main/php_globals.h
php.ini-dist
php.ini-recommended