1.0.0 • Published 6 months ago

nodemailer-hbs v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

nodemailer-hbs

import { createTransport } from 'nodemailer';
import hbs from 'nodemailer-hbs';

const transporter = createTransport({
    ...
});

const __filename = fileURLToPath(import.meta.url),
    __dirname = dirname(__filename).replace('dist', DIRECTORY);

transport.use('compile', hbs({
    ...
}));

This repository represents the modified and functional iteration of 'nodemailer-express-handlebars.'

All rights to the original author are acknowledged.