Logging plugin for the Kohana 3 Mailer module
PHP
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
classes
config
README.md

README.md

Kohana 3 Log for Mailer

This is a logging plugin for Kohana 3's Mailer module.

Currently Mailer is not patched to use dynamic transports, so you will need to use my fork.

Usage

In your config/mailer.php use the log transport:

return array (
  'default' => array (
    'transport'	=> 'log',
    'options'	=> array (
      'path'	=> APPPATH . 'logs/mailer/',
    ),
  )
);

Now just use Mailer like normal, your raw messages should be logged (be careful with attachements!)