Re: mail() logging for PHP

From: Date: Thu, 14 Dec 2006 20:48:22 +0000
Subject: Re: mail() logging for PHP
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-26963@lists.php.net to get a copy of this message
On Thu, December 14, 2006 4:21 am, Sander Steffann wrote: >> Is there any interest in adding support for logging of mail() calls >> and/or adding options that allow identification of who sent the >> e-mail. >> >> I've wrote a quick patch that enables this functionality via two ini >> settings controllable via php.ini or per-virtual host. > > Hehe. I was just starting to work on exactly the same, Thanks for > saving me > the work :) So, yes, I would realy like this extra logging! Would the logfile also include the Message-ID generated by SMTP or sendmail or whatever?... I should think that for fixing broken scripts that accidentally leak, this would be very useful. Obviously for somebody intentionally spamming, it's not all that, as they probably are messing with Message-ID as well. -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some starving artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So?

« previous php.internals (#26963) next »