2017 © Pedro Peláez
 

silverstripe-module silverstripe-mandrill-mailer

Allows you to use Mandrill to send your Silverstripe transactional emails.

image

cslweb/silverstripe-mandrill-mailer

Allows you to use Mandrill to send your Silverstripe transactional emails.

  • Thursday, February 5, 2015
  • by phillprice
  • Repository
  • 2 Watchers
  • 0 Stars
  • 1,106 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 4 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

SilverStripe-Mandrill-Mailer

Mandrill Mailer for SilverStripe to send SilverStripe Email through the Mandrill.com service., (*1)

This is a new Silverstripe Mailer services that communicates with the Mandrill PHP SDK to send email through their service. The benefits of which are outlined at Mandrill.com., (*2)

Events

As well as delivering mail through Mandrill this module contains a controller that will accept Mandrill events set up through their Webhook and Rules system, (*3)

Requires

This module requires Silverstripe, I've tested this with version 2.4, 3.0 and 3.1, (*4)

Installation

You can either install this through composer or through placing this module alongside the cms and framework directories. If you are manually installing this you'll need to download the Mandrill SDK, (*5)

Setup

Inside the _config.php file you'll notice there are three lines that set out the instantiation of the Mailer - you'll need a Mandrill API key in place of APIKEYHERE. You can of course leve these commented out and set the mailer at a more specific month., (*6)

// $mailer = new MandrillMailer('APIKEYHERE');
// $mailer->set_track_opens(true);
// $mailer->set_track_clicks(true);

All of these functions map to their mandrill properties with $mailer->set_property;, (*7)

  • important
  • track_opens
  • track_clicks
  • auto_text
  • auto_html
  • inline_css
  • url_strip_qs
  • preserve_recipients
  • view_content_link
  • tracking_domain
  • signing_domain
  • return_path_domain
  • tags
  • subaccount
  • google_analytics_domains
  • google_analytics_campaign
  • metadata
  • ip_pool
  • async
  • send_at

To-do

  • Integrate Templating through the mandrill service

The Versions

05/02 2015

dev-master

9999999-dev

Allows you to use Mandrill to send your Silverstripe transactional emails.

  Sources   Download

The Requires

 

silverstripe mandrill