Compartilhar via


MESSAGEFORMAT

4/8/2010

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
Windows Mobile Windows Mobile 6 Classic and later, Windows Mobile 6 Professional and later, Windows Mobile 6 Standard and later

See Also

Reference

PR_CE_NATIVE_MESSAGE_FORMAT
PR_CE_PENDING_BODY_FORMAT
PR_CE_PREFERRED_DOWNLOAD_FORMAT

Other Resources

Message Format Properties