Command IMAP_GetCurrentMB

4D Internet Commands

IMAP_GetCurrentMB

version 6.8.1


IMAP_GetCurrentMB (imap_ID; mbName) Integer

ParameterTypeDescription
imap_IDLongintReference to an IMAP login
mbNameTextName 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.