This gem provides a model and an observer to log e-mail delivery.
Ruby JavaScript
Switch branches/tags
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app/models
db/migrate
lib
test
.gitignore
.travis.yml
Gemfile
Gemfile.lock
MIT-LICENSE
README.md
Rakefile
mail_sleuth.gemspec

README.md

MailSleuth

Build Status

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_id
  • bounced?
  • final_recipient
  • action
  • error_status
  • diagnostic_code
  • retryable?
  • from
  • to
  • delivery_method
  • delivery_handler
  • errors
  • subject
  • content_type
  • charset
  • perform_deliveries

Some attributes are serialized like: from, to, delivery_method, delivery_handler and errors.

Licence

This project rocks and uses MIT-LICENSE.