Example: imap_select

In the following example, the imap_select function selects the INBOX mailbox.

    imap_select("SelectInbox",
            "Mailbox=INBOX",
            LAST );