@plotdb/mail-queue

0.0.2 • Public • Published

@plotdb/mail-queue

for queuing mails and mail templating

Sample Template

use yaml format and markdown for content:

from: '"#{orgname} Support" <noreply@#{domain}>'
subject: 'Email Verification / #{domain}'
content: |
  Hi #{username}!

  This is an email verification mail because someone used your email to sign up in #{domain} and requested an email verifiction.

  To verify your email, please open following link:

  [https://#{domain}/mail/verify/#{token}](https://#{domain}/mail/verify/#{token})

  This is an automatically generated mail so please don't reply in case that no one receive your mail.

  Best regards,
  #{orgname} team

possible fields:

  • from
  • to
  • bcc
  • cc
  • subject
  • content

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @plotdb/mail-queue

Weekly Downloads

4

Version

0.0.2

License

MIT

Unpacked Size

6.48 kB

Total Files

4

Last publish

Collaborators

  • tkirby