FOLDERINFO

NAME

FolderInfo — Return information about a folder. (V2.0)

TEMPLATE

VAR/K,STEM/K,FOLDER

FUNCTION

Returns information about the specified folder, or the current
folder if none is specified.

INPUTS

VAR/K - variable where the results will be storedSTEM/K - base name used for the stems where the returned data will be storedFOLDER - name or path of the folder we want to get info about; if no folder is specified, the current folder will be used (V2.2)

RETURNS

VAR - string with a space separated list of the results of the query<STEM>NUMBER - position of the folder in the folder list; the folder at the top is in slot 0<STEM>NAME - name of the folder as shown in the folder list<STEM>PAT - path of the folder, e.g. "incoming"<STEM>TOTAL - total number of messages in the folder<STEM>NEW - number of new messages in the folder<STEM>UNREAD - number of unread messages in the folder<STEM>SIZE - size of the folder, in bytes<STEM>TYPE - type of folder (V2.3), possible values are: