ekalchev
ekalchev

Reputation: 972

How to find currently opened ImapFolder

I want to close currently opened folder before running any Folder operation Rename/Move/Delete/Create. I don't keep the reference to the currently opened ImapFolder. Is there are a way to search ImapClient for the currently opened folder?

Upvotes: 1

Views: 52

Answers (1)

jstedfast
jstedfast

Reputation: 38618

Nope. You need to track it by keeping a reference to the currently selected folder.

Upvotes: 1

Related Questions