Data-Base
Data-Base

Reputation: 8618

programmatically change data on Exchange Server

I would like to know what is the possibilities to programmatically change data on Exchange Server?

with Exchange Web Service (EWS) can I (change means add/edit/delete):

if not, how I can do that programmatically?

we have a system that we need to make it communicate with Exchange Server to do different tasks, related to calendar, email, GAL

what is the best practice and approach I should think about?

cheers

Upvotes: 1

Views: 1444

Answers (1)

zavaz
zavaz

Reputation: 745

I dont't know what about GAL, but surely You can manage users calendars(adding meeting,s adding taksks, ...) and emails(reading, sending etc.).

To manage other user accounts You have to enable impersonation.

Some time ago I wrote two posts on my blog how to impersonate Exchange Service Binding and how to add an appointment to any users calendar in Exchange. I won't paste the code here because it makes no sense, just here You have links if You're interested:

Impersonation

Creating appointment

But now it's easier way to achieve the same results as above, but with less lines of code thanks to Exchange Web Services Managed API 1.1 SDK. So, if You want to enable communication with excahnge You should read more about this API and see if it suits You and Your demands.

Upvotes: 1

Related Questions