Mailbox Folder Statistics

Returns statistics for the folders from the configured mailbox.

Input Parameters

Name Type Required Description
Email Address String Yes The mailbox from which to retrieve the folder statistics.
Folder Selection Yes The folder for which to retrieve statistics.

Output Parameters

Name Type Description
Folder Statistics Collection

A collection of folders with each folder containing the following:

  • Name
  • Path
  • ItemsInFolder
  • Size
  • ItemsInFolderAndSubfolder
  • FolderAndSubfolderSize
  • OldestItemReceiveDate
  • NewestItemReceiveDate
  • Identity
  • IsValid
Result Number

Returns a success value of zero or any value other than zero to indicate failure.

Example Input Parameters

Name Type Required Example
Email Address String Yes jsmith@ABC.com
Folder Selector Yes All