dambreaker-nodemailer
Use nodemailer to send email from your Qwebs server.
Features
Add the nodemailer parameters in config.json
Declare and inject $mailer
const Qwebs = ;const qwebs = ; qwebs;
API
- send(mailerOptions)
let mailOptions = from: 'Fred Foo ✔ <foo@blurdybloop.com>' // sender address to: 'bar@blurdybloop.com, baz@blurdybloop.com' // list of receivers subject: 'Hello ✔' // Subject line text: 'Hello world ✔' // plaintext body html: '<b>Hello world ✔</b>' // html body ; return $mailer;
Installation
$ npm install dambreaker-nodemailer