Hi saphua,
change your code as following:
Greets,
Pavel
change your code as following:
var c = new ImapX.ImapClient("doman");
if(c.Connect())
{
if(c.Login("user", "password"))
{
foreach (var f in c.Folders)
{
f.Messages.Download();
foreach (var m in f.Messages)
{
Console.WriteLine(m.Subject);
}
}
}
}
The Connect method only does what it says - connecting to the server. In order to login, you need to call the Login method.Greets,
Pavel