PidLidUseTnef Canonical Property

Applies to: Office 2010 | Outlook 2010 | Visual Studio

Specifies whether Transport Neutral Encapsulation Format (TNEF) should be included on a message when that message is converted from MAPI to Multipurpose Internet Mail Extensions (MIME) or Simple Mail Transfer Protocol (SMTP) format.

Associated properties:

dispidUseTNEF

Property set:

PSETID_Common

Long ID (LID):

0x00008582

Data type:

PT_BOOLEAN

Area:

Run-time configuration

Remarks

This property specifies whether TNEF should be included on a message when that message is converted from TNEF to MIME or SMTP format. This property may be absent, and if so, TNEF must not be included on the message.

This property only applies when the message is sent from a POP3/SMTP mail account and does not apply when the message is sent by other providers, such as Microsoft Exchange Server.

Under certain circumstances, such as when voting buttons are enabled or an OLE embedded object is attached to a message, Outlook can set this property to force the use of TNEF.

The PR_MSG_EDITOR_FORMAT (PidTagMessageEditorFormat) property can be used to enforce only plain text, and not TNEF, when sending a message. Because PidLidUseTNEF overrides the setting in PR_MSG_EDITOR_FORMAT, an application that wants to force plain text on an outgoing message should also look for PidLidUseTNEF and reset it to FALSE. Additionally, the add-in must remove the message features that required TNEF to avoid unusable attachments on the message that is finally sent.

Use the CCSF_USE_TNEF flag when calling IConverterSession::MAPIToMIMEStm to convert an outgoing MAPI message to a MIME stream can also enforce TNEF. This applies even if PidLidUseTNEF is not set.

Protocol Specifications

  • [MS-OXPROPS]
    Provides property set definitions and references to related Exchange Server protocol specifications.

  • [MS-OXOMSG]
    Specifies the properties and operations that are permissible for e-mail message objects.

  • [MS-OXTNEF]
    Encodes and decodes message and attachment objects to an efficient stream representation.

Header Files

  • Mapidefs.h
    Provides data type definitions.

See Also

Concepts

MAPI Properties

MAPI Canonical Properties

Mapping Canonical Property Names to MAPI Names

Mapping MAPI Names to Canonical Property Names