2.2.1 ⢠Published 10 years ago
kazana-email-box v2.2.1
kazana-email-box plugin
Kazana service to listen for emails and download them into a kzana database
Setup
git clone git@github.com:eHealthAfrica/kazana-email-box.git
cd kazana-email-box
npm installUsage
module.exports = {
name: 'myapp',
version: '1.0.0',
port: 5000,
static: 'public',
/* ... */,
plugins: [
require('@ehealthafrica/kazana-email-box')
/* ... */
],
/* ... */
}Configuration
In your .kazanarc file
[kazana-email-box]
emailAccount = "me@gmail.com":password@imap.gmail.com:993 ; email account configuration
cacheDirectory = ./file_cache ; directory to store intermediate download and unzipped files
days = 40 ; days the downloader should look back to on restart
timeout = 900000 ; timeout for connecting and quer
pollingBreak = 100000 ; timeout between polling of downloading attachments
filenameFilter = ^[^\.](.+\.xls.?)|(.+\.zip)$ ; filename regex of what attachments to handleTest
TODO: tests: multiple zip files, test multiple xls and mixed
TODO: tests: auth timout should skip checkpointing
npm testCredit
Brought to you by eHealth Africa ā good tech for hard places.
2.2.1
10 years ago
2.2.0
10 years ago
2.1.0
10 years ago
2.0.0
10 years ago
1.0.16
10 years ago
1.0.15
10 years ago
1.0.14
10 years ago
1.0.13
10 years ago
1.0.12
10 years ago
1.0.11
10 years ago
1.0.10
10 years ago
1.0.9
10 years ago
1.0.8
10 years ago
1.0.7
10 years ago
1.0.6
10 years ago
1.0.5
10 years ago
1.0.1
10 years ago
1.0.0
10 years ago