2017 © Pedro Peláez
 

silverstripe-module silverstripe-inlinestylesemail

Copies CSS styles to inline style tags. Makes designing emails a bit easier.

image

burnbright/silverstripe-inlinestylesemail

Copies CSS styles to inline style tags. Makes designing emails a bit easier.

  • Friday, November 7, 2014
  • by jedateach
  • Repository
  • 0 Watchers
  • 5 Stars
  • 95 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 3 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Inline Styles

Convert stylesheets to inline styles with this SilverStripe module, (*1)

Usage

Here are a few ways to inline style html:, (*2)

  1. Arbitrary HTML, (*3)

    $html = InlineStyler::convert($html);, (*4)

  2. Some emails, (*5)

    $email = new InlineStyledEmail();, (*6)

  3. All emails, (*7)

    Email::set_mailer(new InlineStylesMailer());, (*8)

Research

  • http://classes.verkoyen.eu/css_to_inline_styles
  • http://www.pelagodesign.com/sidecar/emogrifier/
  • http://www.xavierfrenette.com/articles/css-support-in-webmail/#properties
  • http://www.email-standards.org/

The Versions

07/11 2014

dev-master

9999999-dev

Copies CSS styles to inline style tags. Makes designing emails a bit easier.

  Sources   Download

BSD-2

The Requires