Home

Awesome

<p align="center"> <a href="http://nestjs.com/" target="blank"> <img src="https://nestjs.com/img/logo_text.svg" width="320" alt="Nest Logo" /> </a> </p> <p align="center"> A mailer module for Nest framework (node.js) using <a href="https://nodemailer.com/">Nodemailer</a> library </p> <p align="center"> <a href="https://www.npmjs.com/org/nestjs-modules"><img src="https://img.shields.io/npm/v/@nestjs-modules/mailer.svg" alt="NPM Version" /></a> <a href="https://www.npmjs.com/org/nestjs-modules"><img src="https://img.shields.io/npm/l/@nestjs-modules/mailer.svg" alt="Package License" /></a> <a href="https://www.npmjs.com/org/nestjs-modules"><img src="https://img.shields.io/npm/dm/@nestjs-modules/mailer.svg" alt="NPM Downloads" /></a> <a href="https://opencollective.com/nest-modules#sponsor" target="_blank"><img src="https://img.shields.io/badge/Support%20us-Open%20Collective-41B883.svg" alt="Support us"></a> </p>

Installation

npm install --save @nestjs-modules/mailer nodemailer
npm install --save-dev @types/nodemailer
#or
yarn add @nestjs-modules/mailer nodemailer
yarn add -D @types/nodemailer

Hint: handlebars and pug is an optional dependency, if you want to use the template, you must install it.

with npm

npm install --save handlebars
#or
npm install --save pug
#or
npm install --save ejs
#or
npm install --save mjml

with yarn

yarn add handlebars
#or
yarn add pug
#or
yarn add ejs
#or
yarn add mjml

Documentation

you can find all the documentation here for the email module

Starter kit

Contributing

License

MIT