Share via


MESSAGEFIELDS (Compact 7)

3/12/2014

The MESSAGEFIELDS structure describes the fields of a new message to be composed.

Syntax

struct {
  LPCWSTR pszwTo;
  LPCWSTR pszwCc;
  LPCWSTR pszwBcc;
  LPCWSTR pszwSubject;
  LPCWSTR pszwBody;
  DWORD flags;
} MESSAGEFIELDS;

Members

  • pszwTo
    Rfc822 compliant "To" address(es).
  • pszwCc
    Rfc822 compliant "Cc" address(es).
  • pszwBcc
    Rfc822 compliant "Bcc" address(es).
  • pszwSubject
    Subject field for the new message.
  • pszwBody
    Body field for the new message.
  • flags
    One of the following enumeration values.

    Enumerator Value Description

    MESSAGEFIELDS_FLAGS_DELETEONCLOSE

    0x00000001

    Delete the message permanently if the user cancels.

    MESSAGEFIELDS_FLAGS_SMSSERVICE

    0x00000002

    A Short Message Service (SMS) message.

Requirements

Header

cemapi.h

See Also

Reference

MAPI Structures