Share via


Handling Message Classes

Handling Message Classes

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

A message class tells a messaging application which properties the message contains, the type of information the message conveys, and how the message can be handled. Message classes are identified by the MAPI PR_MESSAGE_CLASS property on the message. Each message class has an associated set of properties. You can also create custom message properties for your gateway.

When the Microsoft® Exchange server delivers a message to the MTS-OUT folder of a gateway, it encloses the message class string of the message in the message class string of the message transfer envelope (MTE). Gateways must always be able to handle the following message classes:

Message class Description
ENVELOPE.{Message Class} The MTE that contains the message. The standard message class enclosed in the MTE is IPM.NOTE.
REPORT.{Message Class}.NDR Nondelivery report.
REPORT.{Message Class}.DR Delivery report.
REPORT.{Message Class}.IPNRN Interpersonal note receipt notification.
REPORT.{Message Class}.IPNNRN Interpersonal note nonreceipt notification.

Handling a message class means being able to convert outgoing messages into an appropriate format when the foreign system has an analogous message class, and to convert incoming messages to an appropriate MAPI message class. It also means being able to generate the various REPORT message classes when an incoming or outgoing message requires them.

The following steps describe how a report is delivered about an outgoing message:

  1. The gateway creates the report message.
  2. The gateway places the report message in its MTS-IN folder.
  3. The Exchange server delivers it to the recipient.

The details of delivering reports about inbound messages depend on the requirements of the foreign system.

Send us your feedback about the Microsoft Exchange Server 2003 SDK.

Build: June 2007 (2007.618.1)

© 2003-2006 Microsoft Corporation. All rights reserved. Terms of use.