MailCrawler - For crawling and downloading mails
Quickstart guide
- Requirements
To run MailCrawler you need:
- Maven
- MySQL server
- Install maven which can be downloaded from http://maven.apache.org/download.cgi
- Install MySQL server which will be available at http://www.mysql.com/downloads/ Make sure that MySQL server is running
- Create required database and table for running application SQL can be found in resources directory.
- Change the logger file name in log4j.properties in resources directory.
- Provide credentials for connecting to database in db.properties file in conf direcotry.
- run maven package and it takes two arguments output file name and resume flag which is either true or false Ex: java -cp target/Crawler-1.0-SNAPSHOT.jar sample.java.crawler.Crawler output true