Repository is archived
No commit activity in last 3 years
No release in over 3 years
Provides an ActionMailer delivery handler sending emails through Mandrill
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

 Project Readme

mandrill-mailer-rails

Build Status

Handler for Rails' ActionMailer to send emails through Mandrill.

Installation

In your Gemfile:

gem 'mandrill-mailer-rails'

Configuration

Mandatory

Store your API Key in an environment variable or other safe place. It needs access to at least the send method.

In your config/application.rb:

config.action_mailer.delivery_method = :mandrill
config.mandrill_action_mailer.api_key = ENV['MANDRILL_API_KEY']

Optional

Track Opens

Whether Mandrill should automatically insert a tracking image. Default: false.

config.mandrill_action_mailer.track_opens = true

Track Clicks

Whether Mandrill should override your URLs and track clicks. Default false.

config.mandrill_action_mailer.track_clicks = true