egg-email-plugin
v1.0.0
Published
Email for Egg.js
Downloads
3
Readme
egg-email
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.