emily_bma
emily_bma

Reputation: 301

Updating email messages via Outlook vs EWS

Environment: Outlook 2013 and Exchange Server 2013.

Requirement: Programmatically catch incoming email messages and update specific fields.

Question: I was wondering if there are any obvious drawbacks or advantages to developing the above requirement via an Outlook Add-In project or via the EWS API?

Note: Looks like both methods are feasible, but it seems that I will need to catch more events via Outlook as opposed to the EWS API.

Any advice?

Upvotes: 1

Views: 315

Answers (2)

Jason Johnston
Jason Johnston

Reputation: 17692

Also keep in mind that Outlook events happen only in the Outlook desktop client in which they are installed, and can be disabled by the end user. So if the user uses Outlook Web App for instance, your events will not be fired. If Outlook is closed, events won't fire. However, and Outlook solution is probably easier to develop, and depending on the scope of your project, the limitations may not be a factor.

For the EWS route, you would want to look into notifications.

Upvotes: 1

Eugene Astafiev
Eugene Astafiev

Reputation: 49395

EWS and OOM are different things. You can read more about EWS in the EWS Managed API, EWS, and web services in Exchange section in MSDN.

Take a look at the series of articles that describe how to catch incoming emails:

Upvotes: 0

Related Questions