Hello,
I'm simply trying to download all available message, but unfortunatly the Folders IEnumerable is not getting populated. Here's my code. c.Folders is empty, the connection succeeds.
I'm simply trying to download all available message, but unfortunatly the Folders IEnumerable is not getting populated. Here's my code. c.Folders is empty, the connection succeeds.
var c = new ImapX.ImapClient("doman");
c.Credentials = new PlainCredentials("usr","pswd");
c.Connect();
foreach (var f in c.Folders)
{
f.Messages.Download();
foreach (var m in f.Messages)
{
Console.WriteLine(m.Subject);
}
}