php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #23082 log of using mail() function
Submitted: 2003-04-07 05:44 UTC Modified: 2010-11-19 01:06 UTC
Votes:5
Avg. Score:4.8 ± 0.4
Reproduced:5 of 5 (100.0%)
Same Version:2 (40.0%)
Same OS:4 (80.0%)
From: moldovenu at interia dot pl Assigned: jani (profile)
Status: Closed Package: Mail related
PHP Version: 4.3.1 OS: any
Private report: No CVE-ID: None
 [2003-04-07 05:44 UTC] moldovenu at interia dot pl
I use mod_php as an admin at 7 servers for few years. 
The strange thing is when someone from one server sends spam through php mail(). 
Checking apache-logs, checking php files on the server... uff....
The solution for such problems (and this is very popular problem for admins) will be possibility to log every call of the mail() function.
Such log should consist of:
- datetime
- path and file name of the php-caller-script

If this is possible to add such very usefull future?

THX

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-11-19 01:06 UTC] jani@php.net
-Status: Open +Status: Closed -Package: Feature/Change Request +Package: *General Issues -Assigned To: +Assigned To: jani
 [2010-11-19 01:06 UTC] jani@php.net
Implemented in PHP 5.3.0.
 [2010-11-19 01:06 UTC] jani@php.net
-Package: *General Issues +Package: Mail related
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 13:01:30 2024 UTC