UXDMAPIOptions

UXDMAPIOptions contains e-mail information that is used by PEEnableEventInfo, when you want to export to a MAPI e-mail destination.

C Syntax
struct UXDMAPIOptions {
    WORD StructSize;
    char FAR *toList;
    char FAR *ccList;
    char FAR *subject;
    char FAR *message;
    WORD nRecipients;
    lpMapiRecipDesc recipients;
}
Members

structSize

Specifies the size of the UXDMAPIOptions structure. You must initialize this member to be the size of whatever it is, for example, options.structSize = UXDMAPIOptionsSize.

toList

Specifies the pointer to the null-terminated string that contains the "To" list to which you want your e-mail message directed. If you specify "recipients" in this structure, "toList" is ignored.

ccList

Specifies the pointer to the null-terminated string that contains the "CC" list to which you want your e-mail message copied. This string will appear on the message. If you specify "recipients" in this structure, "ccList" is ignored.

subject

Specifies the pointer to the null-terminated string you want to appear as the subject line in the e-mail message.

message

Specifies the pointer to the null-terminated string you want to appear as the body of your e-mail message.

nRecipients

Specifies the number of recipients that are to receive the e-mail message. You must pass the value "0" if you specify "To" and "CC" lists in this structure.

recipients

Specifies the pointer to an array of structures, each of which describes someone to whom the message is being sent or CC'd. This member is included for those applications that are already using Microsoft's MAPI.DLL. If you are not using MAPI.DLL in your application, there is no advantage to using the recipients array over the toList and ccList. You must pass the value "0" if you specify "To" and "CC" lists in this structure. For detailed information about this member, please refer to Microsoft's MAPI documentation.

Delphi Record Listing
type
    UXDMAPIOptions = record
        structSize: Word;
        toList: PChar;
        ccList: PChar;
        subject: PChar;
        message: PChar;
    end;


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com