The IMAP_GetCurrentMB command returns the current working mailbox name.
imap_ID is a long integer reference to an open connection created with IMAP_Login.
mbName returns full name of the current mailbox. If the mbName value is a null string, no mailbox is currently selected.