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
62,527 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,540 Downloads
C#
David Barrett (Microsoft)
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
(15)
Updated 10/19/2018
Released 2/13/2015
OneCode Team
How to Get Availability Details in Office 365
5 Star
(1)
Updated 9/22/2016
Released 4/10/2014
3,843 Downloads
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,698 Downloads
C#
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,840 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,672 Downloads
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 create meetings.
4.8 Star
(5)
Updated 6/26/2013
Released 5/31/2013
2,296 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 programmatically set, and then retrieve settings information for automatic replies, such as Out of Office (OOF) messages, for an email client.
5 Star
(1)
Updated 6/17/2013
Released 7/16/2012
1,554 Downloads
C#
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 1/24/2019
Released 8/25/2017
578 Downloads

Couldn't find the sample you were looking for?

1 - 10 of 173 Items