Exchange Server 中的 MAPI over HTTPMAPI over HTTP in Exchange Server

Messaging Application Programming Interface (MAPI) over HTTP 是一種傳輸通訊協定,透過將傳輸層提升為符合業界標準的 HTTP 模型,因而改善了 Outlook 和 Exchange 連線的可靠性與穩定性。這可更清楚地檢視傳輸錯誤,並可增強復原能力。此外,也具有支援明確暫停和繼續功能的能力。這讓受支援的用戶端能夠變更網路或從休眠狀態恢復,同時保有相同的伺服器內容。Messaging Application Programming Interface (MAPI) over HTTP is a transport protocol that improves the reliability and stability of the Outlook and Exchange connections by moving the transport layer to the industry-standard HTTP model. This allows a higher level of visibility of transport errors and enhanced recoverability. Additional functionality includes support for an explicit pause-and-resume function. This enables supported clients to change networks or resume from hibernation while maintaining the same server context.

實作 MAPI over HTTP,並不表示這是唯一可供 Outlook 用來存取 Exchange 的通訊協定。不具 MAPI over HTTP 功能的 Outlook 用戶端,仍可使用 Outlook Anywhere (RPC over HTTP),透過擁有 MAPI 功能的 Client Access Server 來存取 Exchange。Implementing MAPI over HTTP does not mean that it is the only protocol that can be used for Outlook to access Exchange. Outlook clients that are not MAPI over HTTP capable can still use Outlook Anywhere (RPC over HTTP) to access Exchange through a MAPI-enabled Client Access server.

在 Exchange 2016 和 Exchange 2019 中, MAPI over HTTP 可以套用到整個組織或個別信箱層級。In Exchange 2016 and Exchange 2019, MAPI over HTTP can be applied across your entire organization, or at the individual mailbox level.

MAPI over HTTP 的優點Benefits of MAPI over HTTP

MAPI over HTTP 可為支援它的用戶端提供下列優點:MAPI over HTTP offers the following benefits to the clients that support it:

  • 採用以 HTTP 為基礎的通訊協定,可支應未來在驗證方面的創新能力。Enables future innovation in authentication by using an HTTP based protocol.

  • 因為只需要重建 TCP 連線 (而非 RPC 連線), 所以在通訊中斷後提供更快的重新連線時間。Provides faster reconnection times after a communications break because only TCP connections (not RPC connections) need to be rebuilt. 通訊中斷的範例包括:Examples of a communication break include:

    • 裝置休眠Device hibernation

    • 從有線網路變更為無線或行動數據網路Changing from a wired network to a wireless or cellular network

  • 提供無需依賴連線的工作階段內容。Offers a session context that is not dependent on the connection. 伺服器會在可設定的一段時間內維持會話內容, 即使使用者變更網路也是一樣。The server maintains the session context for a configurable period of time, even if the user changes networks.

升級 Exchange 時的 MAPI over HTTPMAPI over HTTP when upgrading Exchange

在 Exchange 2016 或更新版本中, 預設會在組織層級啟用 MAPI over HTTP, 不過, 您仍需要設定虛擬目錄, 如設定 MAPI OVER HTTP以讓使用者利用它所述。In Exchange 2016 or later, MAPI over HTTP is enabled by default at the organization level, although you still need to configure the virtual directories as described in Configure MAPI over HTTP for users to take advantage of it.

下表說明組織層級預設會啟用或停用 MAPI over HTTP 的案例:The scenarios where MAPI over HTTP is enabled or disabled by default at the organization level are described in the following table:

Exchange 2019Exchange 2019 Exchange 2016Exchange 2016
從 Exchange 2016 環境升級Upgrading from an Exchange 2016 environment MAPI over HTTP 預設為啟用MAPI over HTTP is enabled by default n/an/a
從包含任何 Exchange 2013 伺服器的環境升級Upgrading from an environment that contains any Exchange 2013 servers MAPI over HTTP 預設為停用MAPI over HTTP is disabled by default MAPI over HTTP 預設為停用MAPI over HTTP is disabled by default
從 Exchange 2010 環境升級Upgrading from an Exchange 2010 environment n/an/a MAPI over HTTP 預設為啟用MAPI over HTTP is enabled by default

從包含 Exchange 2013 伺服器的組織升級期間, 系統管理員將會收到mapi OVER HTTP 未啟用 [WarnMapiHttpNotEnabled]準備情況檢查警告, 並啟用 MAPI over HTTP 後續安裝採取.During the upgrade from an organization that contains Exchange 2013 servers, administrators will receive the MAPI over HTTP isn't enabled [WarnMapiHttpNotEnabled] readiness check warning, and enabling MAPI over HTTP post-installation is recommended. 在任何包含 Exchange 2013 伺服器的組織中, MAPI over HTTP 預設不會啟用, 系統管理員必須遵循設定 MAPI OVER HTTP中的步驟來啟用它。In any organization that contains Exchange 2013 servers, MAPI over HTTP won't be enabled by default, and administrators will need to follow the steps in Configure MAPI over HTTP to enable it.

支援能力與必要條件Supportability and Prerequisites

請考量下列啟用 MAPI over HTTP 的需求。Consider the following requirements to enable MAPI over HTTP.

支援能力Supportability

請使用下列矩陣,確認您的用戶端與伺服器皆支援 MAPI over HTTP。Use the following matrix to verify that your clients and servers support MAPI over HTTP.

產品Product Exchange 2019Exchange 2019 Exchange 2016Exchange 2016 Exchange 2013 SP1Exchange 2013 SP1 Exchange 2013 RTMExchange 2013 RTM Exchange 2010 SP3Exchange 2010 SP3
Outlook 2013 SP1 和所有更新的 Outlook 版本Outlook 2013 SP1 and all later versions of Outlook MAPI over HTTPMAPI over HTTP
Outlook 無所不在Outlook Anywhere
MAPI over HTTPMAPI over HTTP
Outlook 無所不在Outlook Anywhere
MAPI over HTTPMAPI over HTTP
Outlook 無所不在Outlook Anywhere
Outlook 無所不在Outlook Anywhere RPCRPC
Outlook 無所不在Outlook Anywhere
Outlook 2010 SP2 (含更新)Outlook 2010 SP2 with updates
KB2956191 和 KB2965295 (2015 年4月14日)KB2956191 and KB2965295 (April 14, 2015)
MAPI over HTTPMAPI over HTTP
Outlook 無所不在Outlook Anywhere
MAPI over HTTPMAPI over HTTP
Outlook 無所不在Outlook Anywhere
MAPI over HTTPMAPI over HTTP
Outlook 無所不在Outlook Anywhere
Outlook 無所不在Outlook Anywhere RPCRPC
Outlook 無所不在Outlook Anywhere
Outlook 2013 RTMOutlook 2013 RTM Outlook 無所不在Outlook Anywhere Outlook 無所不在Outlook Anywhere Outlook 無所不在Outlook Anywhere Outlook 無所不在Outlook Anywhere RPCRPC
Outlook 無所不在Outlook Anywhere
所有舊版 OutlookAll earlier versions of Outlook Outlook 無所不在Outlook Anywhere Outlook 無所不在Outlook Anywhere Outlook 無所不在Outlook Anywhere Outlook 無所不在Outlook Anywhere RPCRPC
Outlook 無所不在Outlook Anywhere

必要條件Prerequisites

若要使用 Exchange Server 支援 MAPI over HTTP 的用戶端和伺服器, 必須滿足下列條件。The following conditions are required for clients and servers to support MAPI over HTTP with Exchange Server. 一旦下列必要條件就緒後,請參閱<Configure MAPI over HTTP>,以在您的組織中啟用 MAPI over HTTP。Once the following prerequisites are in place, see Configure MAPI over HTTP to enable it in your organization.

  • 支援的 Outlook 用戶端 (請參閱上一節中的表格)。Supported Outlook clients (see the table in the previous section).

  • .NET Framework 4.5.2 或更新版本。.NET Framework 4.5.2 or later. 請注意, 這不再是 Exchange 2016 CU5 或更新版本的問題。Note that this is no longer an issue for Exchange 2016 CU5 or later. 如需 Exchange 2016 的 .NET Framework 需求的相關資訊, 請參閱exchange 2016 支援的 .Net framework 版本For more information about the .NET Framework requirements for Exchange 2016, see Supported .NET Framework versions for Exchange 2016.