Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@dockbite/mailer

Dockbite1MIT1.0.0TypeScript support: included

NestJS - a mailer module (@mailer)

nest, nodemailer, mailer, nodejs

readme

Nest Logo

Forked by Dockbite. At the time of forking (23-02-2021) this was not released to NPM yet. Therefore a fork was made, see this issue. Once a new NPM is made this fork becomes obsolete.

A mailer module for Nest framework (node.js) using Nodemailer library

NPM Version Package License NPM Downloads Support us

Installation

npm install --save @dockbite/mailer nodemailer
#or
yarn add @dockbite/mailer 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

with yarn

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

Documentation

you can find all the documentation here for the email module

Starter kit

Contributing

License

MIT

changelog

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

1.5.1 (2020-06-02)

Bug Fixes

  • deps: update dependency nodemailer to v6.4.8 (255056f)
  • deps: update dependency preview-email to v2.0.2 (1f9ca0a)
  • deps: update dependency twing to v5 (469b4c9)
  • deps: update nest monorepo to v7.0.11 (5a6f911)
  • deps: update nest monorepo to v7.0.13 (4e5295b)
  • deps: update nest monorepo to v7.1.0 (f761b95)
  • deps: update nest monorepo to v7.1.1 (4331cce)
  • send-mail-options: change contents to content (ecfbd5b)

1.5.0 (2020-05-09)

Features

  • added bcc to mailer service (887b216)

Bug Fixes

  • adapters: Make pug, handlebars and ejs truly optional dependencies (981c6cf)
  • deps: update dependency twing to v4.0.6 (090ee3f)
  • deps: update nest monorepo to v7.0.8 (04268b1)
  • deps: update nest monorepo to v7.0.9 (3daf8d2)

1.4.3 (2020-05-08)

Bug Fixes

  • adapters: Make pug, handlebars and ejs truly optional dependencies (981c6cf)
  • deps: update dependency twing to v4.0.6 (090ee3f)
  • deps: update nest monorepo to v7.0.8 (04268b1)
  • deps: update nest monorepo to v7.0.9 (3daf8d2)

1.4.2 (2020-04-07)

  • fix handlebars adapter type

1.4.1 (2020-04-07)

Bug Fixes

  • fixed handlebars helpers (bba3be6)

1.4.0 (2020-04-07)

Features

  • preview: Pass options to preview-email (d0009ce)
  • preview: Show preview of emails in browser (4a2c0d5)
  • add ejs adapter

Bug Fixes

  • deps: pin dependency preview-email to 2.0.1 (e1206d6)

1.3.22 (2020-04-07)

Bug Fixes

1.3.21 (2020-04-04)

Bug Fixes

  • fixed inconsistencies in build (6d041f0)

1.3.20 (2020-04-04)

  • Clean build

Bug Fixes

1.3.19 (2020-04-04)

Bug Fixes

1.3.18 (2020-04-04)

Bug Fixes

  • now pug and handlebars are optional dependencies and nodemailer a peer dependency (49b60a3)
  • deps: update dependency rxjs to v6.5.5 (2ffd823)

1.3.17 (2020-04-01)

Bug Fixes

1.3.16 (2020-03-31)

Bug Fixes

1.3.15 (2020-03-31)

Bug Fixes

  • fix dist not found

1.3.14 (2020-03-31)

Bug Fixes

1.3.13 (2020-03-30)

Bug Fixes

  • add interface 'attachment like object' #104 (30de1f6)
  • deps: update dependency nodemailer to v6.4.6 (2230ca2)
  • deps: update nest monorepo to v7.0.5 (b3b3ec9)
  • deps: update nest monorepo to v7.0.6 (3e8c04f)
  • deps: update nest monorepo to v7.0.7 (3b9bc9a)

1.3.12 (2020-03-19)

Bug Fixes

  • sendMail options errors #85 (02e5950)
  • deps: update nest monorepo to v7.0.2 (6cb96b8)
  • deps: update nest monorepo to v7.0.3 (ae6eee9)

1.3.11 (2020-03-15)

Bug Fixes

  • fixes build fail with no implicit any #79

1.3.10 (2020-03-14)

Bug Fixes

  • fixes template in the email interface (eb1f4b6)
  • deps: update nest monorepo to v7 (7deaa3e)

1.3.9 (2020-03-12)

Bug Fixes

  • inherits from nodemailer interface #34 (923ba0f)
  • deps: pin dependencies (5545762)
  • deps: update dependency nodemailer to v6.4.5 (b5ace5d)

1.3.8 (2020-03-06)

Bug Fixes

1.3.7 (2020-03-06)

Bug Fixes

1.3.6 (2020-02-26)

Bug Fixes

1.3.5 (2020-02-26)

Bug Fixes

  • dependencies (eaf1979)
  • fixed incorrect module call in documentation (5d37026)
  • fixes deploy script (2daf360)

1.3.4 (2020-02-25)

Features

  • enable handlebars partials (da4eb86)

Bug Fixes

  • badges now have a correct url (a3d336a)
  • load partials and set global variables (ee62f27)

1.3.3

  • The module is in a new organization at npm.

1.3.2 (2020-02-05)

Bug Fixes

  • load partials and set global variables (ee62f27)

1.3.0 (2020-02-05)

Features

  • enable handlebars partials (da4eb86)

1.2.0 (2019-12-12)

Features

Bug Fixes

  • dependencies: fixed dependencies and scripts (c34b1eb)
  • unit test: fix unit tests (c3bc61e)

1.1.4 (2019-12-12)