Skip to content

Rails gem that logs outgoing mail to a database table

Notifications You must be signed in to change notification settings

ASCTech/mailbag

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Rails gem that logs outgoing mail to a database table

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%