Creates a new message and returns a handle for that new message.
The message can be changed afterwards and send on an active session. The message can then be sent with MapiSendMessageEx and can be altered with the MapiSetMessage functions.
Mapi.bdh
MapiCreateMessage( in sSubject : string, in sMessageText : string, in sMessageType : string, in sSenderName : string, in sSenderAddress: string, in sToName : string, in sToAddress : string ) : number;
Parameter | Description |
---|---|
sSubject | Subject for the Mail Message |
sMessageText | Body Text for the Mail Message |
sMessageType | For normal messages - this parameter should be NULL. Depending on the Mail Client - different Message Types might be supported, e.g.: Notes, Calendar, … |
sSenderName | Display name of the Mail Sender |
sSenderAddress | Mail address of the Mail Sender |
sToName | Display name of the Mail Recipient |
sToAddress | Mail address of the Mail Recipient |
See MAPI Sample