Example: imap_status

In the following example, the imap_status function chooses the Sent Mail mailbox.

    imap_status("CheckStatus",
            "Mailbox=Inbox",
            "Mailbox=Drafts",
            "Mailbox=Contacts (MESSAGES,UNSEEN,RECENT)",
            LAST );