Provides convenience methods for setting Mandrill SMTP headers for ActionMailer
Add this line to your application's Gemfile:
gem 'mandrill_smtp_headers'
And then execute:
$ bundle
Or install it yourself as:
$ gem install mandrill_smtp_headers
Adding this gem will provide convenience methods for setting Mandrill specific SMTP headers in your ActionMailer class. For example:
def confirm_email(order)
mandrill_tags :confirm_email
mandrill_track :clicks
mandrill_enable_autohtml
# setup confirmation email
# ...
end
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request