Exchange Online 和 Exchange 开发Exchange Online and Exchange 2013 development

查找 Exchange Server 的详细开发人员文档,包括 Office 365、Exchange Online、Exchange 2013、EWS 托管 API、Exchange 2010 和 Exchange 2007 中的 Exchange Online。Find in-depth developer documentation for Exchange Server, including Exchange Online as part of Office 365, Exchange Online, Exchange 2013, the EWS Managed API, Exchange 2010, and Exchange 2007.

你可以使用操作方法、入门、新增功能和 API 参考文档来开发各种工具,从而通过服务、网站、台式计算机和移动设备来访问和管理邮箱数据,并创建有关电子邮件、日历、联系人和其他存储在 Exchange Online 或 Exchange 2013 服务器上的项目的自定义解决方案。You can use the how to, get started, new feature, and API reference documentation to develop tools to access and manage mailbox data from services, websites, desktop computers, and mobile devices, and to create custom solutions for email, calendar, contacts, and other items that are stored in Exchange Online or on an Exchange 2013 server.

你可以使用 Exchange Web 服务 (EWS)、自动发现、Outlook 加载项或其他 API 来开发应用程序。You can use Exchange Web Services (EWS), Autodiscover, mail apps for Office, or other APIs to develop your applications. 此页面可帮助你选择正确的 Exchange 技术。This page helps you choose the right Exchange technology.

Exchange 开发人员内容Exchange developer content

使用下表找出将帮助你实现自己的开发目标的技术和相关 API 内容。Use the following table to identify the technology and related API content that will help you meet your development goals.


我们建议使用 Microsoft Graph 这一 API 来访问 Exchange Online 数据。Microsoft Graph is the recommended API to use for accessing Exchange Online data. 为访问 Exchange Online 数据而设计的新应用程序应使用 Microsoft Graph。New applications designed to access Exchange Online data should use Microsoft Graph.

如果正在构建…If you are building… 从这里开始Start here
基于 REST 的应用,可访问作为 Office 365 的一部分的 Exchange OnlineA REST-based app to access Exchange Online as part of Office 365. 针对邮件、日历和联系人的 Microsoft Graph REST APIOffice 365 REST APIs for mail, calendars, and contacts
用于在 Outlook、Outlook Web App 或适用于设备的 OWA 中显示信息的上下文敏感型应用A context-sensitive app to display information in Outlook, Outlook Web App, or OWA for Devices. Outlook 加载项和 Exchange 中的 EWSMail apps for Outlook and EWS in Exchange
不基于 .NET Framework 或 Java 的邮箱客户端A mailbox client that is not based on the .NET Framework or Java. 在 Exchange 中探索 EWS 托管 API、EWS 和 Web 服务Explore the EWS Managed API, EWS, and web services in Exchange
使用 .NET Framework 访问 EWS 的邮箱客户端A mailbox client that uses the .NET Framework to access EWS. EWS 托管 API 客户端应用程序入门Get started with EWS Managed API client applications
使用 Java 访问 EWS 的邮箱客户端A mailbox client that uses Java to access EWS. GitHub 上的 EWS Java APIEWS Java API on GitHub
会自定义 Outlook 用户界面或依赖于 Outlook 业务逻辑的应用程序An application that customizes the Outlook user interface or relies on Outlook business logic. Outlook VBA 参考Outlook VBA reference
适用于 Exchange Online 或 Exchange 2013 且您需从之前的 Exchange 版本迁移的应用程序An application that targets Exchange Online or Exchange 2013 and you need to migrate from a previous version of Exchange. 迁移到 Exchange 技术Migrating to Exchange technologies
从托管代码使用 Windows PowerShell 的自定义管理工具A custom management tool that uses Windows PowerShell from managed code. Exchange 命令行管理程序Exchange Management Shell
备份或还原 Exchange 数据的解决方案A solution to back up or restore Exchange data. Exchange 备份和还原Backup and restore for Exchange 2013
支持访问传输管道中的邮件的扩展An extension to support accessing messages in the transport pipeline. Exchange 中的传输代理Transport agents in Exchange 2013
适用于移动设备的邮箱客户端A mailbox client for a mobile device. Exchange ActiveSyncExchange ActiveSync

与自定义应用程序的 Exchange 交互Exchange interactions with custom applications

您可以通过一部分这些技术使应用程序使用存储在 Exchange 中的数据,另一部分技术用于管理和控制 Exchange 服务器。大多数情况下,您可以使用多种编程技术或语言来完成任务,这就让您可以使用熟悉的技术和语言。例如,可以通过邮件 REST API、EWS 或 EWS 托管 API 为 Exchange 存储中的项目设置属性。Some of these technologies enable your applications to work with data that is stored in Exchange, and others are used to manage and control the Exchange server. In many cases, you can use more than one programming technology or language to accomplish a task, which makes it possible for you to use the technologies and languages that you are familiar with. For example, you can set properties on items in the Exchange store by using the Mail REST API, EWS, or the EWS Managed API.

Exchange 通过多种方式与自定义应用程序交互,具体取决于应用程序的体系结构和功能。其核心是,Exchange 不仅传输邮件,还维护邮箱、执行基于表单的应用程序,等等。Exchange interacts with custom applications in a variety of ways, depending on the application architecture and functionality. At its core, Exchange not only transports messages, but also maintains mailboxes, executes form-based applications, and more.

Exchange 交互Exchange interaction 说明Description
邮件传输Message transport Exchange 可作为发送邮件的应用程序的标准邮件服务器。Exchange serves as a standard mail server for applications that send messages.
Exchange 包括多个传输邮件的 API,如 REST、EWS 和 EWS 托管 API。Exchange includes several APIs that transfer messages, including REST, EWS, and the EWS Managed API.
此外,在使用 Exchange 处理和发送邮件时,应用程序可以使用传输代理来进行回复。In addition, applications can use transport agents to respond as messages are processed and delivered by Exchange.
邮箱存储Mailbox storage 针对访问存储在邮箱中的数据的应用程序,Exchange 会提供分层的文件夹、项目和属性结构。Exchange provides a hierarchical structure of folders, items, and properties for applications that access data stored in mailboxes.
您可以使用数据库和组件对象样式的组合访问该存储信息。You can access that stored information by using a combination of database and component object styles.
您可以执行有关数据的查询,并且 Exchange 将基于用户和存储权限管理对存储数据的访问权限。You can perform queries on the data, and Exchange manages access to the stored data based on user and store permissions.
处理邮箱数据的应用程序通常使用 REST、EWS 或 EWS 托管 API。Applications that handle mailbox data typically use REST, EWS, or the EWS Managed API.
托管的企业服务器Managed enterprise server 对于管理 Exchange 服务器和存储的应用程序,Exchange 可作为其托管服务器。Exchange functions as a managed server for applications that manage Exchange servers and stores.
应用程序可以配置、控制和监视整个组织中的 Exchange 服务器的当前活动及运行状况。Applications can configure, control, and monitor current activity and the health of Exchange servers across the organization.
Exchange 管理应用程序使用 Exchange 命令行管理程序来管理 Exchange 服务器。Exchange management applications use the Exchange Management Shell to manage Exchange servers.

另请参阅See also