Share this page

# mapi_set_property_sz

MS Exchange Server Functions (mapi)

Sets a MAPI session property.

    void mapi_set_property_sz( char *property, char *value );

attribute | The MAPI property to set. For example, `"Message ID", "Content",` etc.
value | The 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", "");

Tips to improve your search results... VuGen Function Reference Version 26.1 Function Reference 26.1 All View Local Help Center View Online Help Center Version: