Easily integrate Emogrifier into SilverStripe and send Emails with inlined CSS automatically.
Install via composer:
composer require bummzack/silverstripe-emogrify
The module will already register the
EmogrifierPlugin as a plugin on SwiftMailer. By default it will only pick up
styles that are part of your HTML (eg. in a
To supply your own CSS file, add something like this to your
Bummzack\SilverStripeEmogrify\EmogrifierPlugin: css_file: 'mysite/css/email.css'
Please note, that if the path to the CSS file is not absolute,
it will be considered to be relative to the
Module rating system helping users find modules that are well supported. For more on how the rating system works visit Module standards
Score not correct? Let us know there is a problem