I'm using triel version of aspose.email dll (version: 6.1.0.0, runtime version: v2.0.50727)
I want to fetch user's google mails using aspose api.below is my code that is what i'm trying:
UserCredential uc = GetUserToken(); //this method get tokens(access & refresh) using client_secret.json file.
GmailClient.GetInstance(uc.Token.AccessToken, null);
using (IGmailClient client = GmailClient.GetInstance(uc.Token.AccessToken, null))
{
//here i use client to fetch mails
//but i found that their is no method for fetching mails !!!
...
...
}
Probably IMAP will work with Gmail but it will be slow because of IMAP protocol limitation.