I have a simple setup with a mailbox with 3 top level folders. When using this library I can connect to them perfectly with an ImapClient.
However, as soon as I add a subfolder, to the INBOX, the ImapClient.Folders (or GetFolders()), will not return anymore. My program hangs on that call. I waited for over a minute for it to return.
Is this a known bug or am I doing something wrong?
Code snippet:
However, as soon as I add a subfolder, to the INBOX, the ImapClient.Folders (or GetFolders()), will not return anymore. My program hangs on that call. I waited for over a minute for it to return.
Is this a known bug or am I doing something wrong?
Code snippet:
client = new ImapClient(server, port);
client.Connection();
client.LogIn(login, password);
foreach (Folder folder in client.Folders)
{
nodes.Add(new TreeNode(folder.Name));
}