ONLINE HELP WINDEV, WEBDEV AND WINDEV MOBILE
List of folders. The different folders are separated by CR characters (Carriage Return). The format of the result depends on the constant used:LstFolderNormal(Default value)<Name of Folder1> + CR + <Name of Folder2> + CR +...LstFolderAll<Name of Folder1> + CR + <Name of Folder2> + CR +...LstFolderSorted<Name of Folder1> + CR + <Name of Folder2> + CR +...LstFolderType<Name of Folder1> + TAB + "Type of Folder1> + CR + <Name of Folder2> + TAB + "Type of Folder2> + CR +...Where:<Name of FolderX>: Full name of folder. For example: "Personal folders\Inbox\Work".<Type of FolderX>: Type of listed folder. This parameter can correspond to:folderDraft: Folder for the draftsfolderContact: Folder for the contacts and for the groups of contactsfolderRecycleBin: Folder for the deleted elementsfolderOutbox: Folders for the emails that will be sentfolderSentEmail: Folder for the outgoing emailsfolderGeneric: Generic folder (folder created by the users)folderLog: Folder for the logsfolderNote: Folder for the notesfolderPersonal: Root of the "Personal folders" folderfolderInbox: Folder for the incoming emailsfolderAppointment: Folder for the appointmentsfolderTask: Folder for the tasksThe ErrorOccurred variable is set to True if an error occurs. To get the details of the error, use ErrorInfo with the errMessage constant.
Identifier of current email session. This identifier can be: an integer returned by EmailStartOutlookSession or OutlookStartSession. Versions 15 and later an emailOutlookSession variable. New in version 15 an emailOutlookSession variable. an emailOutlookSession variable. Versions 15 and latera emailIMAPSession variable.New in version 15a emailIMAPSession variable.a emailIMAPSession variable.Versions 15 and laterthe user name passed to EmailStartIMAPSession.New in version 15the user name passed to EmailStartIMAPSession.the user name passed to EmailStartIMAPSession.
Indicates:the type of list to perform:LstFolderNormalList of folders containing emails only ("In-box", "Elements sent", ...).LstFolderAllList of all folders.the sort mode of the list:LstFolderSortedList sorted in alphabetical order.the display of the folder type:LstFolderTypeReturns the type and name of folders (option not supported by the IMAP protocol)By default, all folders containing emails are listed. This list is not sorted in alphabetical order and it contains the name of each folder only.
Last update: 04/02/2021
Send a report | Local help
I accept the terms of the license agreement
All you have to do is configure your product as follows: