ImapClientListFolders Method (IConnection)

Gets the list of folders in the mailbox

Namespace:  Aspose.Email.Clients.Imap
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 22.4
Syntax
public ImapFolderInfoCollection ListFolders(
	IConnection connection
)

Parameters

connection
Type: Aspose.Email.ClientsIConnection
Connection to a server

Return Value

Type: ImapFolderInfoCollection
Collection of ImapFolderInfo objects
See Also