SyncFolderHierarchy

This documentation provides details about the SyncFolderHierarchy class within the pyews package.

This class is used to retrieve a users mailbox folder hierarchy.

class pyews.endpoint.syncfolderhierarchy.SyncFolderHierarchy(well_known_folder_name=None)

Retrieve the authenticated users mailbox folder hierarchy.

Args:
well_known_folder_name (str, optional): The well known folder name. Defaults to all known folder names.
FOLDER_LIST = ['msgfolderroot', 'calendar', 'contacts', 'deleteditems', 'drafts', 'inbox', 'journal', 'notes', 'outbox', 'sentitems', 'tasks', 'junkemail', 'searchfolders', 'voicemail', 'recoverableitemsdeletions', 'recoverableitemsversions', 'recoverableitemspurges', 'recipientcache', 'quickcontacts', 'conversationhistory', 'todosearch', 'mycontacts', 'imcontactlist', 'peopleconnect', 'favorites']
RESULTS_KEY = 'Changes'
soap()