Quantcast
Channel: Aspose.Email Product Family
Viewing all articles
Browse latest Browse all 1367

Issue while fetching email using ImapClient

$
0
0
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.

Viewing all articles
Browse latest Browse all 1367

Trending Articles