DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

Introduction

What does it do?

This extension provides CSS file from Zurb Ink responsive email template, along with tools aimed to help building email templates, both in HTML and in plain text, to use with mass mailers, such as Direct Mail.

It includes a CSS inliner, i.e. a tool converting CSS styles into inline style attributes in your HTML code. This ensures proper display on email and mobile device readers that lack stylesheet support. This CSS inliner is based on Emogrifier.

It also includes a tool to convert HTML code into plain text, based on html2text. Direct Mail already includes such a tool; however, it is limited to a few types of content records. The converter included here use a different approach and should work with any kind of content records.

To see this extension in action, simply includes the static template, then append &type=98 to a page URL, to see the HTML email version of the page, or &type=99 to see the plain text email version of the page.

Included resources

Resource Version Website
Zurb Ink 1.0.5 http://zurb.com/ink/
Emogrifier 0.1 https://github.com/jjriv/emogrifier
html2text 0.2 https://github.com/soundasleep/html2text

Repository, bug tracker, etc.

Code repository, bug tracker, and related tools can be found on GitHub.