-
Notifications
You must be signed in to change notification settings - Fork 15
Provides :cache delivery method for ActionMailer
License
ngty/action_mailer_cache_delivery
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
ActionMailerCacheDelivery ======================== Currently ActionMailer only supports :test, :smtp & :sendmail delivery methods. This plugin enhances ActionMailer to support the :cache method, which behaves like :test, except that the deliveries are marshalled to a temporary cache file, thus, making them available to other processes. Installation ============ #$ cd RAILS_ROOT #$ ./script/plugin install git://github.com/ngty/action_mailer_cache_delivery.git Example ======= In your RAILS_ROOT/config/environments/test.rb, make sure you have the line: config.action_mailer.delivery_method = :cache And that's all. To access the cached deliveries in another process, just do: ActionMailer::Base.cached_deliveries # array of TMail::Mail instances Credits ======= Many thanks to langalex, who suggested the birth of this plugin. Copyright (c) 2009 [Ng Tze Yang, ngty77(at)gmail(dot)com], released under the MIT license
About
Provides :cache delivery method for ActionMailer
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published