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

/kva-email-service/

    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