$ npm i egg-email --save
// {app_root}/config/plugin.js
exports.email = {
enable: true,
package: 'egg-email',
};
// {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.
Please open an issue here.