Skip to content

Drupal module that integrates with the MailChimp API and the Display Suite module to make it easy to create custom email templates and to preview, export, test, and send node content as MailChimp campaigns

License

tbaumgard/emailmonkey

Repository files navigation

Introduction

EmailMonkey is a module that integrates with the MailChimp API and the Display Suite module to make it easy to create custom email templates and to preview, export, test, and send node content as MailChimp campaigns. Everything is configured from Drupal's web interface, and the module includes a flexible, table-based Display Suite layout. The only development required is to create CSS style sheets for the templates.

Using Display Suite view modes, EmailMonkey supports multiple email templates per content type. Also, the view mode used to export a node's content to MailChimp can be set independently of the view mode used to display its content on the site.

EmailMonkey supports specifying as many styles—in the form of CSS style sheets—as necessary per view mode, which makes it easy to reuse styles among multiple email templates and multiple content types. It also offers granular permissions to support complex workflows.

EmailMonkey also handles preprocessing tasks. It automatically rewrites all URL paths to make them absolute, inlines CSS, and minifies HTML before exporting to MailChimp.

Related Modules

Comparison to the MailChimp Module

The MailChimp module acts more like a MailChimp client, providing access to various MailChimp features from within Drupal, and its email campaign functionality is inflexible. EmailMonkey is kind of the reverse: it allows users to build flexible and complex email templates and campaigns using a wide range of Drupal components, and, from that foundation, it allows users to then send those campaigns via the MailChimp API.

EmailMonkey and the MailChimp module can coexist on the same site without any issues.

Installation

Make sure to install the Libraries, Pathologic, and Display Suite modules and their dependencies. The Display Suite Extras and Display Suite UI modules that come with Display Suite are also required.

Then, install the necessary libraries. The libraries require composer to install their dependencies, so make sure it's installed as well.

MailChimp API Library for PHP

Download the mailchimp-api-php library and extract it to one of the library directories, e.g., sites/all/libraries/mailchimp-api-php. Then, install its dependencies:

$ cd sites/all/libraries/mailchimp-api-php
$ composer install --no-dev

The latest version tested and known to work is the v1.0.6 release.

Minify

Download the Minify library and extract it to one of the library directories, e.g., sites/all/libraries/minify. Then, install its dependencies:

$ cd sites/all/libraries/minify
$ composer install --no-dev

The latest version tested and known to work is the v2.3.0 release.

Emogrifier

Download the Emogrifier library and extract it to one of the library directories, e.g., sites/all/libraries/emogrifier. Then, install its dependencies:

$ cd sites/all/libraries/emogrifier
$ composer install --no-dev

The latest version tested and known to work is the v1.1.0 release.

Further Help and Documentation

The module includes further help and documentation, including plenty of screenshots, that can be accessed through Drupal's built-in help system. The page can be viewed by clicking the Help button in the Drupal toolbar and then clicking the EmailMonkey link.

Credits

The 7.x-1.0 version was developed for and paid by Pushing7.

About

Drupal module that integrates with the MailChimp API and the Display Suite module to make it easy to create custom email templates and to preview, export, test, and send node content as MailChimp campaigns

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published