4D Internet Commands v14IMAP_CloseCurrentMB |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D Internet Commands v14
IMAP_CloseCurrentMB
|
IMAP_CloseCurrentMB ( imap_ID ) -> Function result | ||||||||
Parameter | Type | Description | ||||||
imap_ID | Longint |
![]() |
Reference to an IMAP login | |||||
Function result | Integer |
![]() |
Error code | |||||
The IMAP_CloseCurrentMB command closes the current working mailbox without selecting another mailbox or executing an IMAP_Logout. IMAP_CloseCurrentMB permanently removes all messages that have the \Deleted flag set.
Note: IMAP allows users to work concurrently with the same mailbox in a client/server mode. Suppose that someone carries out synchronization and keeps the connection open, the last mailbox used will remain in selected mode. Anyone else who tries to use this mailbox will not have valid information, or will not be able to work properly, depending on the server implementation, even if the user works in “disconnected mode” (i.e. connected but working using data).
imap_ID is a long integer reference to an open connection created with IMAP_Login.
Product: 4D Internet Commands
Theme: IC IMAP Review Mail
Number:
88876
Created: 4D Internet Commands 6.8.1
IMAP_Delete
IMAP_GetCurrentMB
IMAP_SetCurrentMB
IMAP_SetFlags
4D Internet Commands ( 4D Internet Commands v11.4)
4D Internet Commands ( 4D v13.2)
4D Internet Commands ( 4D Internet Commands v12.1)
4D Internet Commands ( 4D Internet Commands v14 R2)
4D Internet Commands ( 4D Internet Commands v14)
4D Internet Commands ( 4D Internet Commands v14 R3)
4D Internet Commands ( 4D Internet Commands v14 R4)