HTTP API for contacting you via e-mail as a node.js module!
Install
npm install contact-you --save
Usage
var mailer = contact = http = transport = mailer server = http port = 3000 server
To test, configure the nodemailer transport and then start it and send a POST request:
curl -X POST -d '{ "subject": "a subject", "text": "hello world", "from": "aaa@matteocollina.com" }' http://localhost:3000
Usage with Express/Connect
contact-you supports express/connect, just use it a standard connect middleware:
var app = app
License
MIT