Using Linkedin dust.js as an Advanced Platform for Email Templates

I want to send rich email users using nodemailer node.js . But the template mechanism that I want to use is a filter with a dust-LinkedIn filter .

Does anyone have an idea to use dust.js for email templates or have a working tutorial on it with nodemailer to send emails. Share your opinions.

+4
source share
1 answer

Nodemailer supports templates through node-email-templates .

, , , Dust. .

email-templates , , package.json.

npm install --save email-templates
# See https://www.npmjs.com/package/consolidate for a full list of available template engines
npm install --save dustjs-linkedin
+2

Source: https://habr.com/ru/post/1618090/


All Articles