Skip to content

A web interface for browsing Ruby on Rails sent emails with support for distributed environments

Notifications You must be signed in to change notification settings

impactahead/draft_box

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Draft Box

A web interface for browsing Ruby on Rails sent emails with support for distributed environments. The library is using database for storing e-mail messages and attachments to present them on the dedicated dashboard and work correctly with applications based on multiple workers. Supported database engines: PostgreSQL, MySQL, and SQLite.

Getting started

Install the library and make it available for the development environment:

group :development do
  gem "draft_box"
end

Run the generator to create migration files:

rails generate draft_box:install

Run migrations:

rails db:migrate

Configuration

Edit config/environments/development.rb and ensure that you are using the right delivery method for emails:

config.action_mailer.delivery_method = :draft_box
config.action_mailer.perform_deliveries = true

Add to config/routes.rb:

Your::Application.routes.draw do
  mount DraftBox::Engine, at: "/draft_box" if Rails.env.development?
end

About

A web interface for browsing Ruby on Rails sent emails with support for distributed environments

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published