mapi_set_property_sz

MS Exchange Server Functions (mapi)

Sets a MAPI session property.

void mapi_set_property_sz( char *property, char *value );
attributeThe MAPI property to set. For example, "Message ID", "Content", etc.
valueThe property value.

The mapi_set_property_sz function sets a MAPI session property value.

This function is for use with global sessions. For multiple sessions, use the mapi_set_property_sz_ex function, which allows you to specify a session identifier.

Return Values

This function has no return value.

Parameterization

All arguments of this function of the type char, can be parameterized with standard parameterization.

Example

In the following example, the mapi_set_property_sz function sets the current message to the beginning of the mail box.

// Reset current message to beginning of mail box
    mapi_set_property_sz("Message ID", "");