kva-email-service

1.3.0 • Public • Published

Email Service

Installation

Use the package manager [npm] to install email service.

npm install email-service --save

Usage

const mailer = emailTransport(
                host,
                port,
                secure,
                auth
              );
const mailHtmlTemplate = magicEmailTemplate();
mailer.sendMail(mailHtmlTemplate, (error) => {
  if (error) {
    console.log(`error sending email: ${error}`);
  }
});

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.3.0
    6,424
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.3.0
    6,424
  • 1.2.0
    0
  • 1.1.0
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i kva-email-service

Weekly Downloads

6,424

Version

1.3.0

License

MIT

Unpacked Size

3.73 kB

Total Files

6

Last publish

Collaborators

  • kietpva