Example: mapi_logoutMS 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.


Standard parameterization is not available for this function.