Cloud Mail 2020 Python Edition

Questions / Feedback?

list_folders Method

Lists the folders found in the parent folder.

Syntax

def list_folders(parent_folder_id: str) -> None: ...

Remarks

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, list_folders_marker will be populated and calling on_list_folders again will list the next page of folders.

Example (List All Folders in the Root Folder)


office365.ListFolders("");

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