Example: imap_status_ex

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

    imap_status_ex(&imap1,"CheckStatus",
            "Mailbox=Inbox",
            "Mailbox=Drafts",
            "Mailbox=Contacts (MESSAGES,UNSEEN,RECENT)",
            LAST );