Hello
-I am getting the exception as "ServerException was unhandled Tried to read 1659263 bytes, only 1425408 received. Please make sure that antivirus and firewall software are disabled or configured correctly".
-I am getting this exception when I try to read email from an account.
this line "var eml = imap.GetMessageByUID(uid);" in the code gives the exception.
Below is the code in which I am getting the exception
Imap imap = new Imap();
imap.ConnectSSL("xyz.com", 993);
imap.UseBestLogin("xxx@xxx.com", "abc");
imap.Select("TempTry");
List<long> lst = imap.Search(Flag.Undeleted);
foreach (long uid in lst)
{
var eml = imap.GetMessageByUID(uid);
IMail email = new MailBuilder()
.CreateFromEml(eml);
Console.WriteLine(email.Subject);
Console.WriteLine(email.Text);
}