Posts Tagged ‘logging’
Following my previous posts about logging, let’s create an email logger with Swift.
Swift is the Symfony 1.1 prefered solution for sending emails. For more information about how to use the Swift libraries, referer to the cookbook page.
Declaring sfMailLogger
Once Swift is correctly set up on your project, let’s create our mail logger in /lib/sfMailLogger.class.php :
class sfMailLogger [...]