imap_logout

Example: imap_logoutInternet Messaging Functions (IMAP)

Logs off from an IMAP server.

int imap_logout();

The imap_logout function logs out from an IMAP server.

This function is for use with global sessions. For multiple sessions, use the 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.