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