Exchange samples: learn through code

Download Exchange code samples and applications. New samples are added frequently in JavaScript, C++, C#, and VB.NET.You can also download code samples for other products like Windows 8, Windows Phone, Windows Azure, Office, SharePoint, Silverlight, or explore the Official Visual Studio 2010 C#, VB.NET, and 101 LINQ samples.
Each sample is licensed to you by the party distributing it. Microsoft does not guarantee the samples or grant rights for any sample distributed by a party other than Microsoft. Use of this site is subject to the Terms of Use.
Sort by: rss
173 results
Microsoft Office Developer Documentation Team

Microsoft Office Developer Documentation Team MSFT

Microsoft Office Developer Documentation Team samples are developed and tested by the Office Developer Documentation Team to ensure that you have a great experience.

View samples
- Microsoft
The samples in the Exchange 2013: 101 code samples package show you how to use the Exchange Web Services (EWS) Managed API to perform specific tasks with mailbox data on an on-premises Exchange server, Exchange Online, or Exchange Online as part of Office 365.
4.5 Star
(19)
Updated 12/19/2013
Released 7/18/2012
60,440 Downloads
C#
Microsoft Office Developer Documentation Team

Microsoft Office Developer Documentation Team MSFT

Microsoft Office Developer Documentation Team samples are developed and tested by the Office Developer Documentation Team to ensure that you have a great experience.

View samples
- Microsoft
This sample shows you how to use the Exchange Web Services (EWS) Managed API to discover your EWS end point and authenticate with the service.
5 Star
(1)
Updated 8/21/2013
Released 8/21/2013
4,154 Downloads
C#
David Barrett (Dark Bytes Ltd.)
A PowerShell script that uses EWS (requires the EWS Managed API) to merge folders within a mailbox or from one mailbox to another (in the same organisation).  Can be used for multiple folders, and automated against multiple mailboxes.
4.7 Star
(14)
Updated 5/17/2018
Released 2/13/2015
Microsoft Office Developer Documentation Team

Microsoft Office Developer Documentation Team MSFT

Microsoft Office Developer Documentation Team samples are developed and tested by the Office Developer Documentation Team to ensure that you have a great experience.

View samples
- Microsoft
Use the EWS Managed API to get attachments on items in Exchange server.
4.5 Star
(2)
Updated 6/6/2013
Released 6/6/2013
2,491 Downloads
C#
OneCode Team - Microsoft
How to export email messages from Office 365 Exchange Online
5 Star
(1)
Updated 9/22/2016
Released 4/24/2014
6,367 Downloads
aduguid
This Active Directory Search & Export Tool was written in Visual Studio Community 2015 VB.NET Windows Forms and exports the results from LDAP (Lightweight Directory Access Protocol) to csv format.
5 Star
(1)
Updated 9/11/2018
Released 8/25/2017
503 Downloads
Anthony Cangialosi [MS] - Microsoft
This Sample creates a simple send email dialog that is used to demonstrate how to use the Exchange Web services Managed API. This sample has one important section of code on the event handler for send message button.  This code creates a new instance of the ExchangeService and us
3 Star
(5)
Updated 1/27/2012
Released 2/25/2011
8,676 Downloads
C#
David Barrett (Dark Bytes Ltd.)
This sample shows how to search for appointments using PowerShell and the EWS Managed API.
4.4 Star
(5)
Updated 11/11/2015
Released 2/25/2015
David Barrett (Dark Bytes Ltd.)
PowerShell script that uses EWS to connect to an Exchange mailbox and search for and delete duplicate items.
5 Star
(4)
Updated 2/7/2017
Released 6/19/2015
Microsoft Office Developer Documentation Team

Microsoft Office Developer Documentation Team MSFT

Microsoft Office Developer Documentation Team samples are developed and tested by the Office Developer Documentation Team to ensure that you have a great experience.

View samples
- Microsoft
Use the EWS Managed API to access calendar items.
5 Star
(2)
Updated 5/31/2013
Released 5/31/2013
2,046 Downloads
C#

Couldn't find the sample you were looking for?

1 - 10 of 173 Items