Skip to content

Instantly share code, notes, and snippets.

View veer66's full-sized avatar

Vee Satayamas veer66

View GitHub Profile
@veer66
veer66 / parse_mail.js
Last active March 9, 2016 08:02 — forked from lukyth/parse_mail.js
โปรแกรมสำหรับ แกะ e-mail จาก folder ครับ
var MailParser = require('mailparser').MailParser
var fs = require('fs')
var dirname = 'data/'
var resultDir = 'result/'
var async = require('async');
if (!fs.existsSync(resultDir)){
fs.mkdirSync(resultDir)
}