Share this page

# mapi_set_property_sz_ex

MS Exchange Server Functions (mapi)

Obtains a MAPI property for a specific session.

    void mapi_set_property_sz_ex( MAPI *ppmapi, char *property, char *value );

ppmapi | A session identifier.
property | One of the supported MAPI Properties.
value | The property value.

The mapi_set_property_sz_ex function sets a MAPI session property value for a specific session.

This function is for use with multiple sessions. For global sessions, use the mapi_set_property_sz function, which leaves out the 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_ex function sets the current message to the beginning of the mail box.

    // Reset current message to beginning of mail box.

        mapi_set_property_sz_ex(&mapi,"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: