Partager via


MESSAGEFORMAT (Compact 7)

3/12/2014

The MESSAGEFORMAT enumeration is used to specify Message Format Properties. The Messaging Application and the Messaging Transport use this enumeration to communicate format preferences for synchronizing and fetching e-mail.

Syntax

enum {
  MSG_FORMAT_UNKNOWN = 0,
  MSG_FORMAT_TEXT,
  MSG_FORMAT_HTML,
  MSG_FORMAT_RTF
} MESSAGEFORMAT;

Enumerators

  • MSG_FORMAT_UNKNOWN
    The message format is unknown. Used to specify no format preference.
  • MSG_FORMAT_TEXT
    Use ASCII Plain Text format.
  • MSG_FORMAT_HTML
    Use Hypertext Markup Language (HTML) format.
  • MSG_FORMAT_RTF
    Use Rich Text Format (RTF).

    Note

    The Messaging Application will never request or display RTF-formatted messages. If you set this flag, the Messaging Application will still request messages in HTML format, yet the fact the a message's native format is RTF will now be available to it.

Requirements

Header

cemapi.h

See Also

Reference

MAPI Enumerations
Message Format Properties
PR_CE_NATIVE_MESSAGE_FORMAT
PR_CE_PENDING_BODY_FORMAT
PR_CE_PREFERRED_DOWNLOAD_FORMAT