Uses Email Builder to inline css into HTML tags, send tests to Litmus, and send test emails to yourself.
<!-- styles will be inlined --><!-- styles will be embedded --><!-- link tag will be preserved and styles will not be inlined or embedded --><!-- styles will be inlined --><!-- styles will be embedded -->HeadingBody
You can see an example setups below
Install this gulp plugin next to your project's gulpfile with:
npm install gulp-email-builder
Then add this line to your project's
var emailBuilder = ;
Place this in your gulp file.
Other available methods
Besides the main
emailBuilder(options).build() function, the
email-builder-core methods are exposed so users can use them on an individual basis.
View Email Builder options for all available options.
var EmailBuilder = ;var options = encodeSpecialChars: truevar builder = ;gulp;
If you're having issues with Litmus taking forever to load a test or the title of the test is showing up as "No Subject", it is most likely an issue with the Litmus API. You can check the Litmus status page to find out if they're having any issues. If that's not the case, submit an issue and we'll look into further.
Thanks to all contributors for helping out.