Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 692 Bytes

README.md

File metadata and controls

35 lines (23 loc) · 692 Bytes

Node Autodiscover Build Status

A Node.js client for Microsoft's POX Autodiscover Service

Installation

$ npm install autodiscover

Usage

var autodiscover = require('autodiscover');

autodiscover.getEwsUrl('<email_address>', {username: '<username>', password: '<password>'}, function(err, ewsUrl) {
  if (err) {
    throw err;
  }
  console.log(ewsUrl);
});

Limitations

  • I only test in Exchange Online

  • SCP lookup isn't available

  • Doesn't query DNS for an SRV record

License

See license (MIT License).