ultimail-styling-inline-css
v0.0.1
Published
Styling middleware for Ultimail that adds support for inlining CSS into the email HTML.
Downloads
4
Maintainers
Readme
Ultimail-Styling-Inline-CSS
Styling middleware for Ultimail that adds support for inlining CSS into the email HTML.
Included by Default
This module is included by default in Ultimail so there's no need to require and configure it manually.
Quick Start
You need to configure this middleware as "styling" middleware using mailer.configure()
method:
const Ultimail = require(`ultimail`);
const ultimailStylingInlineCss = require(`ultimail-styling-inline-css`);
const mailer = new Ultimail({
from: `[email protected]`,
styles: true,
});
mailer.configure(`styling`, ultimailStylingInlineCss());