Platform SDK: Exchange Server

Gateway to Foreign System Message Transfer

The following steps are performed when the gateway transfers a message to the foreign system:

  1. The gateway assigns a foreign message ID and stores it in the MTE’s PR_FOREIGN_ID property.
  2. The gateway stores the MTE in a folder so it can be retrieved later for report correlation purposes.
  3. The gateway creates an entry in the tracking log containing the PR_MTS_ID and PR_FOREIGN_ID properties from the MTE.

    Typically, a tracking event entry is made each time the message is transferred to the foreign system so that transfer time can be logged (a single message may be transferred multiple times if it has multiple recipients).

If the foreign system generates a report, it typically returns the foreign message ID for the original message. The gateway should store the foreign message ID in the PR_SUBJECT_TRACE_INFO property of the report. If the foreign system does not provide this level of report correlation, the gateway should attempt to identify the original message.