Example: mapi_get_property_sz
In the following example, the mapi_get_property_sz function retrieves several MAPI session properties.
char * msgid; char * message;
// Get the Message identifier of current email message.
msgid = mapi_get_property_sz("Message ID");
// Get the body of the current email message.
message = mapi_get_property_sz("Content");