mirror of
https://github.com/balkian/Hookio-Mailer.git
synced 2024-12-22 20:18:13 +00:00
14 lines
308 B
JavaScript
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();
|