GitHub - ASCTech/mailbag: Rails gem that logs outgoing mail to a database table · GitHub
Skip to content

ASCTech/mailbag

 
 

Folders and files

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

Contributors

Languages

  • Ruby 100.0%