Platform SDK: Exchange Server

TNEF Modes

MAPI supplies the ITnef interface that provides several methods for TNEF encoding and message handling. The OpenTnefStreamEx function provided by MAPI offers three modes of operation:

A gateway should carry out its encapsulation using the appropriate mode. If no configuration option is provided, the gateway should encode using best data mode at the expense of the message size overhead.

For more information about implementing TNEF, see the MAPI Programmer’s Reference.