Internet Messaging Functions (IMAP) > Alphabetical List of Functions > imap_logout_ex

imap_logout_ex

Example: imap_logout_ex Internet Messaging Functions (IMAP)

Logs off from a specific IMAP server session.

int imap_logout_ex( IMAP *ppimap );
ppimap A session identifier.

The imap_logout_ex function logs off from the IMAP server for a specific function.

This function is for use with multiple sessions. For global sessions, use the imap_logout function, which leaves out the session identifier.

imap_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.