Project

mailbag

0.01
No commit activity in last 3 years
No release in over 3 years
Mailbag keeps track of the emails that your application sends out by logging them to a database table
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 3.2.1
 Project Readme

mailbag

This gem logs email sent by a Rails application to a database table.

Installation

In your Gemfile, add this line:

gem "mailbag"

Then, run bundle install.

Run the generator and migrate:

rails g mailbag
rake db:migrate

Usage

You don't have to do anything. Any mail sent out by ActionMailer will be logged to the email_logs table. EmailLog is a standard ActiveRecord model that you can use to interact with your email log.