Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to access EWS managed API from javascript

I want to create a web application, using html and JS, and I will be accessing EWS managed API. So can we access EWS API via javascript or any other language? If yes how to do so?

like image 247
amrit_neo Avatar asked Dec 01 '22 03:12

amrit_neo


1 Answers

If anyone still looking for JavaScript version, I am author of ews-javascript-api at https://github.com/gautamsi/ews-javascript-api, this is functional and have many operations supported. mostly most common calls. open issue at GitHub for anything not implemented I usually take next weekend to publish that feature in npm if not complex.

Published as npm ews-javascript-api

Due to Exchange CAS server CORS limitation (HTTP OPTIONS verb not implemented) you can not use it in browser. Node.js works fine. You can also use it in Electron (Atom Shell) or in NW.JS (Node-WebKit)

Support Office 365 and on-prem Exchange, all version supported by ews-managed-api (official repo).

Supported Authentication mechanism:

  • Basic (provide HTTPS url when calling)
  • Kerberos (with provided sample link in readme)
  • Cookies with ISA/TMG (with provided sample link in readme)
like image 191
Gautam Singh Avatar answered Dec 04 '22 08:12

Gautam Singh