CakePHP Email Logger and DebugKit Panel for stage environments
PHP
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Config
Controller
Lib
Model
Test
View
README.md

README.md

CakePHP LogMail Plugin

LogMail is a quick and dirty plugin to store all mail sent to the database and display latest emails in a DebugKit Panel

Requirements

The master branch has the following requirements:

  • CakePHP 2.1.3 or greater.
  • PHP 5.3.0 or greater.
  • DebugKit plugin
  • Migrations plugin

Installation

  • Setup DebugKit
  • Run Migration Console/cake Migrations.migration run all --plugin LogMail
  • Add to AppController 'DebugKit.Toolbar'=> array( 'panels' => array('LogMail.LogMail')),
  • Use this config in your email.php file public $logdebug = array( 'transport' => 'LogMail.DatabaseLogDebug', 'from' => 'hey@example.com' );

Documentation

Important: This plugin is not for production use, it's aimed to stage and development environments

Todo

  • Add unit tests
  • display HTML emails correctly
  • use cache instead of the database for store the emails ?