PHP Classes

File: README

Recommend this page to a friend!
  Classes of Rodrigo Moraes   EMail Logger   README   Download  
File: README
Role: Documentation
Content type: text/plain
Description: Read me
Class: EMail Logger
Store e-mail messages information in log files
Author: By
Last change:
Date: 14 years ago
Size: 1,054 bytes
 

Contents

Class file image Download
E-Mail Log ________________________________________________________________________________ This is a generic email logger, it's useful to log all outcomming emails from your application, not only that, but this also logs everything, even if the email failed to be sent, it will be there. In my case, i wrote this to satisfy a customer which had problems with his email. His emails were failing at random due a third party bad mail server, so this suited him pretty well. This class also don't need a database, i did this on propouse to avoid adding more complexity to this system. I wrote a simple file based system to database things base64 encoded. This is not intended for large scale env, unless you have a lot of memory. I also added a customizable admin (manager.php) as well; And a database filler (filler.php); Usage Example: $el = new EMail_Log("/path/to/db/"); $el->add($from, $to, $subject, $body); ________________________________________________________________________________ (c) Rodrigo Moraes Orph - 2010