title: How To Get all ITEMS from Folders and Sub-folders of PublicFolders Using EWS Managed API
body: <p>How to retrieve all items from "public folders" and its "sub-folders" in exchange server2010 uisng managed API???</p>
  
  <pre><code>rootfolder = Folder.Bind(service,WellKnownFolderName.PublicFoldersRoot);
  rootfolder.Load();                                             
  foreach (Folder folder in rootfolder.FindFolders(new FolderView(int.MaxValue)))
  {
  FindItemsResults&lt;Item&gt; findResults = folder.FindItems(iv); 
   foreach (Item item in findResults)
  
           {
              //get item info;
           } 
  }
  </code></pre>
  
  <p>"If i do like this i am not getting items present in sub-folders of it..public folders does not support deep traversal queries too..How can i get items from sub-folders of public folders???"</p>