Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 582 Bytes

File metadata and controls

30 lines (19 loc) · 582 Bytes

DocumentCloud Mailsync

This node.js app watches a directory for new mails, checks them for attachments, and if it finds attachments, sends them to DocumentCloud.

Written for AskAfrica, which runs on Alavateli.

##Installation

Edit config.js and put in your relevant settings.

npm install

##Usage

node server.js /var/www/alaveteli/alaveteli/files

##Testing

mkdir files
node server.js files
cp test files/test

License: MIT