February 04, 2015 by Anuraj Estimated read time : 1 min
.NetASP.NetASP.Net MVCVisual Studio
Microsoft Exchange Web Services (EWS) is an interface by which you can programmatically manage Exchange items such as calendar, contact, and email. Microsoft Exchange Web Services is an Application Programming Interface (API) that provides programmatic access to the information and business logic in Microsoft Exchange Server 2007 or later versions. EWS is now an open source project, you can find it in github
To use EWS API, you need to add reference of Microsoft.Exchange.WebServices.dll, you can do it via nuget.
And here is the code snippet, which will send email.
Here is the RedirectionUrlValidationCallback method.