0.0.0 • Published 11 years ago
emailer v0.0.0
var emailer = require("emailer");
var client = emailer({
postmark: {
"apiKey": "postmark api key"
}
});
expressServer.all("emailer/inbound/:command", client.connectMiddleware);
//http://yoursite.com/emailer/inbound/someInboundHook
client.inbound.on("someInboundHook", function() {
})
Plugin.js
var plugin = require("plugin");
plugin().
params({
emailer: {
postmark: {
apiKey: "key"
}
}
}).
require("emailer").
load();
0.0.0
11 years ago