ListFolders Method

Lists the folders found in the parent folder.

Object Oriented Interface

public function doListFolders($parentfolderid);

Procedural Interface

cloudmail_office365_do_listfolders($res, $parentfolderid);


This method lists the folders found in the parent folder. This method populates the Folders property.

Set parentFolderId to be an empty string to list all folders in the root folder.

If the number of folders is greater than the folder page size, ListFoldersMarker will be populated and calling ListFolders again will list the next page of folders.

Example (List All Folders in the Root Folder)


Copyright (c) 2021 /n software inc. - All rights reserved.
Cloud Mail 2020 PHP Edition - Version 20.0 [Build 7718]