0.1.6 • Published 10 years ago

simple-imap v0.1.6

Weekly downloads
15
License
MIT
Repository
github
Last release
10 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

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago