Platform SDK: Exchange Server |
When Microsoft Exchange Server gives a message to a gateway, its first step is to transfer the message to the gateway for that foreign system. The gateway receives messages from its MTS-OUT folder on the server. The following procedure summarizes the basic message transfer steps for outgoing messages.
To transfer messages from the Microsoft Exchange Server information store to a gateway
Your gateway must take messages from MTS-OUT, translate them into the foreign system format, and deliver them to their intended recipients in the foreign system.
If a recipient’s address type is not EX (the native Microsoft Exchange Server format), then the recipient is on a foreign system. In this case, Microsoft Exchange Server assigns the message to the gateway that handles the recipient’s address type.
Note The MTA continues to deliver messages to a gateway even if the gateway service is paused. This can cause messages to collect in the delivery queues and to overflow.
A message’s message transfer envelope (MTE) contains information about the recipients to whom the gateway must deliver the message. Microsoft Exchange Server puts all addresses that must be handled by the gateway into the recipient list of a message’s MTE. The properties that can be set on an MTE are described in Using Message Transfer Envelope Properties.
Because there is a separate recipient list for a message’s MTE, there are two recipient lists associated with the message — the original list that came with the message and the list on the MTE. The MTE’s recipient list is always a subset (although possibly a complete subset) of the original list. The MTE list contains only those recipients to whom the gateway must deliver the message. These recipients are called Responsibility-TRUE. The list on the message itself contains all the recipients to whom the message is addressed; some of these addresses may be for mail systems not associated with the gateway. See The Responsibility Attribute for details.