Example: imap_logout

In the following example, the imap_logout function logs off from the IMAP server.

    imap_logon( "ImapLogon",
            "URL=imap://johnd:letmein@exchange.mycompany.com",
            LAST );
    imap_logout( );