MS Exchange Server Functions (MAPI) > Alphabetical List of Functions > mapi_logout

mapi_logout

Example: mapi_logout MS Exchange Server Functions (MAPI)

Logs off from MS Exchange.

int mapi_logout();

The mapi_logout function logs out from the MS Exchange server.

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

Return Values

If this function succeeds, it returns LR_PASS. Otherwise, it returns LR_FAIL.

Parameterization

Standard parameterization is not available for this function.