1.0.0 • Published 5 years ago
egg-email-plugin v1.0.0
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.
License
1.0.0
5 years ago