ImapClient.ListFolders
ListFolders(IConnection)
Gets the list of folders in the mailbox
public ImapFolderInfoCollection ListFolders(IConnection connection)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
Return Value
Collection of ImapFolderInfo objects
See Also
- class ImapFolderInfoCollection
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
ListFolders(IConnection, string)
Gets the list of subfolders in the specified folder
public ImapFolderInfoCollection ListFolders(IConnection connection, string parentFolder)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
parentFolder | String | Name of the folder |
Return Value
Collection of ImapFolderInfo objects
See Also
- class ImapFolderInfoCollection
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
ListFolders(IConnection, bool)
Gets the list of folders in the mailbox
public ImapFolderInfoCollection ListFolders(IConnection connection, bool loadFullInfo)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
loadFullInfo | Boolean | If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are retrieved. |
Return Value
Collection of ImapFolderInfo objects
See Also
- class ImapFolderInfoCollection
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
ListFolders()
Gets the list of folders in the mailbox
public ImapFolderInfoCollection ListFolders()
Return Value
Collection of ImapFolderInfo objects
See Also
- class ImapFolderInfoCollection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
ListFolders(string)
Gets the list of subfolders in the specified folder
public ImapFolderInfoCollection ListFolders(string parentFolder)
Parameter | Type | Description |
---|---|---|
parentFolder | String | Name of the folder |
Return Value
Collection of ImapFolderInfo objects
See Also
- class ImapFolderInfoCollection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
ListFolders(bool)
Gets the list of folders in the mailbox
public ImapFolderInfoCollection ListFolders(bool loadFullInfo)
Parameter | Type | Description |
---|---|---|
loadFullInfo | Boolean | If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are retrieved. |
Return Value
Collection of ImapFolderInfo objects
See Also
- class ImapFolderInfoCollection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
ListFolders(string, bool)
Gets the list of subfolders in the specified folder
public ImapFolderInfoCollection ListFolders(string parentFolder, bool loadFullInfo)
Parameter | Type | Description |
---|---|---|
parentFolder | String | Name of the folder |
loadFullInfo | Boolean | If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are retrieved. |
Return Value
Collection of ImapFolderInfo objects
See Also
- class ImapFolderInfoCollection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
ListFolders(IConnection, string, bool)
Gets the list of subfolders in the specified folder
public ImapFolderInfoCollection ListFolders(IConnection connection, string parentFolder,
bool loadFullInfo)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
parentFolder | String | Name of the folder |
loadFullInfo | Boolean | If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are retrieved. |
Return Value
Collection of ImapFolderInfo objects
See Also
- class ImapFolderInfoCollection
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
ListFolders(string, bool, ListFoldersOptions, ListFoldersReturnOptions)
Gets the list of subfolders in the specified folder
public ImapFolderInfoCollection ListFolders(string parentFolder, bool loadFullInfo,
ListFoldersOptions options, ListFoldersReturnOptions returnOptions)
Parameter | Type | Description |
---|---|---|
parentFolder | String | Name of the folder |
loadFullInfo | Boolean | If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are retrieved. |
options | ListFoldersOptions | Options for operation |
returnOptions | ListFoldersReturnOptions | Return options for operation |
Return Value
Collection of ImapFolderInfo objects
See Also
- class ImapFolderInfoCollection
- enum ListFoldersOptions
- enum ListFoldersReturnOptions
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
ListFolders(IConnection, string, bool, ListFoldersOptions, ListFoldersReturnOptions)
Gets the list of subfolders in the specified folder
public ImapFolderInfoCollection ListFolders(IConnection connection, string parentFolder,
bool loadFullInfo, ListFoldersOptions options, ListFoldersReturnOptions returnOptions)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
parentFolder | String | Name of the folder |
loadFullInfo | Boolean | If true indicates that folder information should be retrieved from a server completely, otherwise only folder names are retrieved. |
options | ListFoldersOptions | Options for operation |
returnOptions | ListFoldersReturnOptions | Return options for operation |
Return Value
Collection of ImapFolderInfo objects
See Also
- class ImapFolderInfoCollection
- interface IConnection
- enum ListFoldersOptions
- enum ListFoldersReturnOptions
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email