version 6.8.1
IMAP_GetCurrentMB (imap_ID; mbName)  Integer
| Parameter | Type | Description | |
| imap_ID | Longint | Reference to an IMAP login | |
| mbName | Text | Name of the current mailbox | |
| Function result | Integer | Error code | 
Description
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.
See Also
IMAP_CloseCurrentMB, IMAP_SetCurrentMB.