title: Find all subfolders of the Inbox folder using EWS
body: <p>I have the following Inbox folder structure:</p>
  
  <pre><code>Inbox
  --ABC
  ----ABC 2
  ----ABC 3
  --XYZ
  ----XYZ 2
  --123
  ----123 A
  ----123 B
  ----123 C
  </code></pre>
  
  <p>I am using Exchange Web Services and the following code to find the child folders of the Inbox folder:</p>
  
  <pre><code>ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2010);
  
  service.AutodiscoverUrl("MyName@MyDomain.com");
  Mailbox mb = new Mailbox("MyName@MyDomain.com");
  
  FindFoldersResults findResults = service.FindFolders(
      WellKnownFolderName.Inbox,
      new FolderView(int.MaxValue));
  
  foreach (Folder folder in findResults.Folders)
  {
      Console.WriteLine(folder.DisplayName);
  }
  </code></pre>
  
  <p>This partly works because it returns the ABC, XYZ, and 123 folders; unfortunately, it does not return the folders inside each of those folders (ABC 2, ABC 3, XYZ 2, 123 A, 123 B, 123 C).</p>
  
  <p>Also, it is possible that a folder could have more than one level of subfolders inside it.</p>
  
  <p>How can I write this code so that it will return all subfolders regardless of how deeply nested they may be?</p>