Torquebox::Mailer
Easily send emails in the background using TorqueBox Backgroundable and ActionMailer
Installation
Add this line to your application's Gemfile:
gem 'torquebox-mailer'
And then execute:
$ bundle
Or install it yourself as:
$ gem install torquebox-mailer
Usage
Use delay
to deliver your emails asynchronously.
UserMailer.delay.welcome_email(@user.to_param)
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Credits
TorqueBox::Mailer is a port of the delayed extension for ActionMailer included with Sidekiq by Mike Perham, @mperham, http://mikeperham.com
Maintainers
License
Please see LICENSE for licensing details.
Copyright
Copyright 2013-2014 Morton Jonuschat
Parts Copyright 2012-2013 Mike Perham