imapee

0.2.4 • Public • Published

==== IMAP

IMAPee provides fast and easy access to imap servers.

== USAGE

	// get credentials you hopefully entered beforehand
	var credentials = { 
			username: "username",
	    	password: "password",
	    	host: "imap.gmail.com",
	    	port: "993",
	    	secure: true,
		};

	// get the backbone Model
	var model_imapee = require("imapee");


	// new instance of the IMAPee
	var Imapee = new model_imapee(credentials);

	// set query
	Imapee.query = [ 'ALL', ['SINCE', 'July 20, 2012'] ];

	// connect and call back
	Imapee.connect(function(mail){
		console.log("myMail", mail);
	});

	// also your mail is located in a Backbone.Collection in Imapee.mail

== USAGE REPL to create a instance of imapee with a repl use

	node index.js -repl

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i imapee

    Weekly Downloads

    1

    Version

    0.2.4

    License

    none

    Last publish

    Collaborators

    • tanner