Platform SDK: Exchange Server |
In its simplest form, a gateway is an interface that connects one electronic messaging system to another electronic messaging system that has a different message and address format. The gateway receives the mail message, translates it from one format to the other format, maps addresses between the two systems, and then delivers the translated message.
A Microsoft Exchange Server gateway is a MAPI client application. This means that the gateway uses MAPI to communicate with Microsoft Exchange Server. The gateway can access MAPI folders, transports, and other MAPI-based services. Gateways run on computers using the Microsoft Windows NT Server operating system.
A Microsoft Exchange Server gateway
Two possible scenarios for using a gateway are:
Note: The two scenarios are architecturally identical because, in both cases, Microsoft Exchange Server uses a gateway to transfer messages to and from a messaging system that is external to it. In the first scenario, it makes no difference that the external system is part of the same organization as Microsoft Exchange Server, nor that the external system is probably connected over a LAN rather than over the Internet.
The Microsoft Exchange Server SDK provides the tools for creating gateways (including sample code for gateway functions) and a fully functional sample gateway. You can use the code as a basis for your own gateway because the sample gateway supports much of the same functionality that all gateways should support.