Skip to content

vinaybedre/exchange-web-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

exchange-web-service

Exchange Web Service APIs for NodeJS

API for nodejs users. Helps to perform various operations using EWS APIs

Example

Sending Mail (sendMail)

var ews = require("exchange-web-service");
ews.config('username', 'password', 'https://mail.example.com/Ews/Exchange.asmx', 'domain');
ews.sendMail('[email protected]', 'MySubject', 'My Body Text');

Creating Task (createTask)

var ews = require("exchange-web-service");
ews.config('username', 'password', 'https://mail.example.com/Ews/Exchange.asmx', 'domain');
//ews.createTask('task title', '<due date and time in format:2016-10-26T21:32:52>');
ews.createTask('My Task Title', '2016-10-26T21:32:52');

Creating Appointment (createAppointment)

var ews = require("exchange-web-service");
ews.config('username', 'password', 'https://mail.example.com/Ews/Exchange.asmx', 'domain');
// ews.createAppointment('Subject of Appointment', 'Body of appointment', 'Start date in UTC eg.2016-08-03T21:32:52Z', 'End date in UTC eg.2016-08-03T22:32:52Z', ews.constants.CalendarBusyStatus.<Free|Tentative|Busy|OutOfOffice|NoStatus|WorkingElsewhere>, 'Location of appointment');
ews.createAppointment('Meet a colleague', 'Meet Paul', '2016-08-03T21:32:52Z', '2016-08-03T22:32:52Z', ews.constants.CalendarBusyStatus.OutOfOffice, 'Coffee Corner');

Possible values for BusyStatus would be

  • Free
  • Tentative
  • Busy
  • OutOfOffice
  • NoStatus
  • WorkingElsewhere

As of now the reminder will be set automatically before 15 minutes of any appointment

About

Exchange Web Service APIs for NodeJS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published