0.0.1 • Published 8 years ago
mailhook v0.0.1
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 mail@your-host.com
sender.
mailhook.hook("mail@your-host.com")
.trigger('https://webhook.fake/hooks/3345678');