1
0
mirror of https://github.com/balkian/Hookio-Mailer.git synced 2024-11-24 15:32:30 +00:00
Hookio-Mailer/bin/mailer
J.Fernando Sánchez 16a5c27759 First Commit
2012-02-22 13:11:54 +01:00

14 lines
308 B
JavaScript

#!/usr/bin/env node
var Hook = require('../lib/mailer').MailerHook;
var hook = new Hook({
name: "mailer"
});
// Hook.start defaults to localhost
// it can accept dnode constructor options ( for remote connections )
// these hooks can be started on diffirent machines / networks / devices
hook.start();