Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get search folders and count items #265

Open
Bluewisp opened this issue Sep 7, 2017 · 0 comments
Open

Get search folders and count items #265

Bluewisp opened this issue Sep 7, 2017 · 0 comments

Comments

@Bluewisp
Copy link

Bluewisp commented Sep 7, 2017

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 }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant