MailSleuth
This gem provides a model and an observer to log e-mail delivery.
Installation
Simply add MailSleuth to your Gemfile and bundle it up:
gem 'mail_sleuth'
Then install the migrations and run them:
$ rake mail_sleuth:install:migrations
$ rake db:migrate
Usage
The model is called MessageLog and contains a bunch of attribute named after Mail::Message accessors. Here's the full list of attributes:
message_idbounced?final_recipientactionerror_statusdiagnostic_coderetryable?fromtodelivery_methoddelivery_handlererrorssubjectcontent_typecharsetperform_deliveries
Some attributes are serialized like: from, to, delivery_method,
delivery_handler and errors.
Licence
This project rocks and uses MIT-LICENSE.
