bull-email
v0.0.2
Published
send email use redis bull queue
Downloads
2
Readme
bull-email
send email use redis bull queue
Installation
$ npm i bull-email
$ yarn add bull-email
Example
const Queue = require('bull-email');
const Task = new Queue();
async function send () {
Task.sendEmail({
title: '测试一下',
template: `<h1>我是zzc</h1>`,
recipient: '[email protected]',
pass: 'xxxxxxxxxx'
})
}
send();