We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Operation has been canceled when I tryig to connect Eschange

I’m trying to connect to Exchange Server 2007.
IMAP configured correctly on the server.
Test-ImapConnectivity completed successfully:
PS C:\Users\administrator.SPATENT> Test-ImapConnectivity -ClientAccessServer Exch2007-1 -MailboxCredential (Get-Credential SPATENT\fedorov)

CasServer MailboxServer Scenario Result Latency(MS) Error

EXCH2007-1 EXCH2007-1 Test IMAP4 Conn Success 24683,23

But I’m getting error in invoke function (ImapMailboxInfo mbi = client.MailboxInfo) : {“Operation has been canceled”} System.Exception {System.OperationCanceledException}
What can be reason of such issue?

ImapClient client = new ImapClient();
client.Port = 143;
client.Host = “…”;
client.Username = “…”;
client.Password = “…”;

ImapMailboxInfo mbi = client.MailboxInfo;
catch (Exception ex)


I have observed the issue shared by you and request you to please try using latest Aspose.Email 20.3 on your end. In case there is still an issue then please share the working sample project along with test account access with us.