Hi,
I am trying to fetch the inbox mail count using below code.
ImapClient client = new ImapClient("servername", 995, "userid", "password");
client.SecurityOptions = SecurityOptions.SSLExplicit;
Console.WriteLine(client.ListMessages().Count);
But I am getting below error -
+OK The Microsoft Exchange POP3 service is ready.
Please help to resolve the issue.