1.0.2 • Published 5 years ago

egg-nodemail v1.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

egg-nodemailer

NPM version build status Test coverage David deps Known Vulnerabilities npm download

Install

$ npm i egg-nodemailer --save

Usage

// {app_root}/config/plugin.js
exports.nodemailer = {
  enable: true,
  package: 'egg-nodemail',
};

Configuration

// {app_root}/config/config.default.js
exports.nodemailer = {
  client: {
    host: "your email host",
    port: 25,
    auth: {
      user: "your username",
      pass: "your password",
    },
  },
};

see config/config.default.js for more detail.

Example

Questions & Suggestions

Please open an issue here.

License

MIT