Example: imap_logout_ex

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

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