Share this page

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

## Example

In the following example, the imap_logout_ex function logs off from the server.

Copy code

        imap_logon_ex(&imap1, "ImapLogon",
                "URL=imap://johnd:letmein@exchange.abc.com",
                LAST );
        imap_logout_ex(&imap1);

Tips to improve your search results... VuGen Function Reference Version 26.1-26.3 Function Reference 26.1-26.3 All View Local Help Center View Online Help Center Version: