Skip to content

Adds helper methods for adding Mandrill SMTP headers to ActionMailer

License

Notifications You must be signed in to change notification settings

Scoutmob/mandrill_smtp_headers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MandrillSmtpHeaders

Provides convenience methods for setting Mandrill SMTP headers for ActionMailer

Installation

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

Usage

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

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

Adds helper methods for adding Mandrill SMTP headers to ActionMailer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages