Important:
This is retired content. 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 content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
4/8/2010

The MESSAGEFORMATenumeration 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