Developing an application like Microsoft Outlook is a pretty big challenge. Though there are few open source applications available but most of those don’t seem to work with Microsoft Exchange Server. Especially when you have use Exchange Server using Exchange Web Services (EWS) Managed API. POP and SMTP or IMAP can also be used in this regard but it is always good to work with EWS API. In this article, we will write some simple methods on how to Initialize, Send, Update, Delete and Get the exchange mailbox item using EWS Managed API.
To make EWS Managed API available to your application you need to add a Microsoft.Exchange.WebServices.dll as a reference to the application.
Following is a simple method that Initializes Exchange Web Service.