Get search folders and count items
Bluewisp opened this issue · comments
Sebastien Boily commented
Hello
How can we get search folders? I need to get counts for several search folders. I checked all methods from my new Viewpoint::EWSClient object. Microsoft says to use find_folders to get searchfolders. But I don't get them, I only get normal mailbox folders.
require 'viewpoint' include Viewpoint::EWS endpoint = 'https://exchangeserverurl' user = 'someuser' pass = 'somepass' cli = Viewpoint::EWSClient.new endpoint, user, pass x = cli.find_folders x.each { |b| puts b.name }