ITnef : IUnknown

The ITnef interface provides methods for encapsulating those MAPI properties not supported by a messaging system into binary streams that can be attached to messages. The format used for this encapsulation is Transport-Neutral Encapsulation Format (TNEF). The target transport provider or MAPI-based client application can then, on receiving a message including a TNEF attachment, recover the properties from the attachment.

Quick Info

Header file: TNEF.H
Exposed by: TNEF objects
Implemented by: MAPI
Called by: Transport providers, message store providers, gateways
Interface identifier: IID_ITNEF
Pointer type: LPTNEF

Vtable Order

AddProps Allows the calling service provider or gateway to add properties to the TNEF encapsulation.
ExtractProps Extracts the properties from a TNEF encapsulation.
Finish Finishes processing for all TNEF operations that are queued and waiting.
OpenTaggedBody Opens a stream interface on the text of an encapsulated message.
SetProps Sets the value of one or more properties for an encapsulated message or attachment without modifying the original message or attachment.
EncodeRecips Encodes a message's recipient table into the TNEF data stream for the message.
FinishComponent Processes individual components from a message one at a time into a TNEF stream.