0.0.0 • Published 11 years ago

emailer v0.0.0

Weekly downloads
1
License
BSD
Repository
github
Last release
11 years ago
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();