IMAP_GetFolderList

<< Fare clic per visualizzazione il sommario >>

Percorso:  API di piattaforma > Altri servizi > Mail > Configurazione e metodi IMAP >

IMAP_GetFolderList

Service

Mail

 

Method

IMAP_GetFolderList

 

Description

Gets the list of subfolders in the specified folder.

 

Input

Name

Description

Type

Optional

folderPath

The path to the folder to check.

String

 

recursive

Specifies whether to return the whole subfolder tree.

Bool

 

config

Optional configuration values that override the static configuration values (IMAP Config Structure).

Dataset

Y

Output

Name

Description

Type

Optional

returnValue

A List containing a dataset for each subfolder, containing the following fields:

Name (String) -> the name of the folder;

TotalMessageCount (Int32) -> the number of messages in the folder.

List of dataset

 

 

Remarks

To get a list of root subfolders, use an empty string for folderPath.

This method represents IMAP LIST and LSUB commands.