Export (0) Print
Expand All

ITnef : IUnknown

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

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

Header file:

Tnef.h

Exposed by:

TNEF objects

Implemented by:

MAPI

Called by:

Transport providers, message store providers, and gateways

Interface identifier:

IID_ITNEF

Pointer type:

LPTNEF

AddProps

Enables the calling service provider or gateway to add properties to the encapsulation of a message or an attachment.

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 view for a message's recipient table in the TNEF data stream for the message.

FinishComponent

Processes individual components from a message one at a time into a TNEF stream.

Show:
© 2014 Microsoft