0 votes
by (220 points)

I'm iterating over the contents of an IMAP folder and when I use

var folder = "*TODO's*";
_imapClient.FolderExists(folder);

I receive the following Exception:

Unhandled Exception: System.ArgumentException: The specified folder ame contains special wildcard characters.
Parameter name: folder
at Rebex.Net.Imap.FolderExists(String folder)

However this works fine:

_imapClient.SelectFolder(folder);

Is this a bug or is there a way to escape the wildcard characters that exist in the name of the Imap folder?

Applies to: Rebex Secure Mail

1 Answer

0 votes
by (15.2k points)
edited by
 
Best answer

Update: This has been fixed in Rebex Secure Mail 2018 R1.


We have made a hotfix build for this. You can download a trial version here.

Since you have paid support, please email us for the link where you can download non-trial version of this hotfix build.

...