Sha256: af6626d7a30b582823f604682d43a528d662c27d743395981a4225520f6bbbd6

Contents?: true

Size: 1.67 KB

Versions: 4

Compression:

Stored size: 1.67 KB

Contents

= email_manager

Stores all emails sent through ActionMailer to a ManagedEmail model.  Provides controller and views with optional support for meta_search and kaminari to view the emails.

== setup

Include the gem in your Gemfile

  gem "email_manager"

Install the gem

  rails generate email_manager:install
  
This will add a migration and an initializer.  Run the migration and everything will be ready to go.  All mailers inheriting from ActionMailer::Base will have their deliveries recorded.  

To override the views and controller, run the views generator.  The -e argument can be used to create haml or erb based views.  Erb is the default.

  rails generate email_manager:views -e haml

== Todos

* Improve test coverage
* Improve comment coverage
* Add a generator to generate the controller and views
* Figure out a way to run a rails generate email_manager:install at the start of each rspec run and delete afterwards

== Contributing to email_manager
 
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
* Fork the project
* Start a feature/bugfix branch
* Commit and push until you are happy with your contribution
* Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
* Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.

== Copyright

Copyright (c) 2011 Jeremiah Hemphill. See LICENSE.txt for
further details.

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
email_manager-0.0.6 README.rdoc
email_manager-0.0.5 README.rdoc
email_manager-0.0.4 README.rdoc
email_manager-0.0.3 README.rdoc