Issues CLOSE command to the server. Unless Examine was used to open folder, CLOSE command permanently removes all messages that have the Deleted flag set from the currently selected folder, and returns to the authenticated state from the selected state (no folder is selected).

Namespace: Limilabs.Client.IMAP
Assembly: Mail (in Mail.dll) Version: 3.0.12102.1426

Syntax

C#
public void CloseCurrentFolder()
Visual Basic
Public Sub CloseCurrentFolder
Visual C++
public:
void CloseCurrentFolder()

See Also