egg-email-plugin

1.0.0 • Public • Published

egg-email

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

Install

$ npm i egg-email --save

Usage

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

Configuration

// {app_root}/config/config.default.js
exports.email = {
  client: {
    app: true,
    agent: false,
    host: 'smtp.ethereal.email',
    port: 587,
    secure: false,
    auth: {
      user: 'xxxxx',
      pass: 'xxxxx',
    },
  },
};

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

Example

Questions & Suggestions

Please open an issue here.

License

MIT

Package Sidebar

Install

npm i egg-email-plugin

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

6.84 kB

Total Files

7

Last publish

Collaborators

  • rochzp