Outlook folder List RRS feed

  • Question

  • Hello,

    How can I produce a list of all of the outlook folders and the PR_ATTR_Hidden.

    Using the code below I can get the folder names , but not the Hidden Status

    Set xSession = CreateObject("Redemption.RDOSession")
    Set IPMRoot = xSession.Stores.DefaultStore.IPMRootFolder
    For Each Folder In IPMRoot.Folders
      Debug.Print (Folder.Name)

    Friday, March 24, 2017 2:00 PM

All replies

  • I haven't tested this but you should be able to use the fields property with the correct DASL for the PR_ATTR_Hidden attribute.


    Debug.Print (Folder.Fields("")

    Friday, March 24, 2017 3:19 PM