0.1.6 • Published 12 years ago

simple-imap v0.1.6

Weekly downloads
15
License
MIT
Repository
github
Last release
12 years ago

simple-imap

Simple imap listener for Node.js.

Installation

npm install simple-imap

Usage

var SimpleImap = require('simple-imap');

var options = {
	user: '<your username>',
	password: '<password>',
	host: '<imap host>',
	port: 993,
	tls: true,
	mailbox: 'INBOX'
};

var simpleImap = new SimpleImap(options);

simpleImap.on('error', function(err) {
	console.log(err);
});

simpleImap.on('mail', function(mail) {
	console.log(mail);
});

simpleImap.start();
0.1.6

12 years ago

0.1.5

12 years ago

0.1.4

12 years ago

0.1.3

12 years ago

0.1.2

12 years ago

0.1.1

12 years ago