A Node.js client for Microsoft's POX Autodiscover Service
$ npm install autodiscover
var autodiscover = require('autodiscover');
autodiscover.getEwsUrl('<email_address>', {username: '<username>', password: '<password>'}, function(err, ewsUrl) {
if (err) {
throw err;
}
console.log(ewsUrl);
});
-
I only test in Exchange Online
-
SCP lookup isn't available
-
Doesn't query DNS for an SRV record
See license (MIT License).