0.0.2 • Published 9 years ago

exchangeaccesstest v0.0.2

Weekly downloads
2
License
ISC
Repository
github
Last release
9 years ago

Query Microsoft's Exchange Web Services. Only tested on Microsoft Exchange 2010.

##Install

Install with npm:

npm install exchanger

##Module

###exchanger.initialize(settings, callback)

  var exchanger = require('exchanger');
  exchanger.initialize({ url: 'webmail.example.com', username: 'username', password: 'password' }, function(err) {
    console.log('Initialized!');
  });

###exchanger.getEmails(folderName, limit, callback)

  var exchanger = require('exchanger');
  exchanger.initialize({ url: 'webmail.example.com', username: 'username', password: 'password' }, function(err) {
    exchanger.getEmails('inbox', 50, function(err, emails) {
      console.log(emails);
    });
  });
0.0.2

9 years ago

0.0.1

9 years ago