mailhook
v0.0.1
Published
A Node.js library to setup hooks to trigger Webhooks then receive emails.
Downloads
5
Readme
mailhook
A Node.js library to setup hooks to trigger Webhooks then receive emails.
How-to
Initialize a Mailhook instance.
var Mailhook = require('mqtthook');
var mailhook = new Mailhook('user', 'password', 'host');
Trigger a Webhook to do something when receive emails from the specific email [email protected]
sender.
mailhook.hook("[email protected]")
.trigger('https://webhook.fake/hooks/3345678');