Free Support Forum -

Moving to exchange2010


We use Network to attach to exchange to read mails from several mailboxes. We are moving to exchange 2010 and now we receive error 'Method not found' I have learned I need to switch from ExchangeClient to ExchangeWebServiceClient. this works using
Only problem is that we used to read several mialboxes with one account, so we opened a connection to exchanged using a username which had read rights on all mailboxes. Using the webservice I seem to be only able to read my own (the service account's) mailbox. How can I specify a mailboxuri on

NetworkCredential credentials = null;
// if username is not specified, use default credentials
if (Globals.ExchangeUsername == string.Empty)
credentials = CredentialCache.DefaultNetworkCredentials;
Log.Logger.Debug("Accessing Exchange with default credentials");
credentials = new NetworkCredential(

//OLD:, doesnt work with exchange 2010: client = new ExchangeClient("http://s026001/exchange/mailbox1", credentials);

_client = new ExchangeWebServiceClient("", credentials);
//_client.KeepAlive = true;

...GetMailBoxInfo ...


Thank you for using Aspose products.

Exchange impersonation is possible with ExchnageClient as well as ExchangeWebServiceClient. Please check the below linked Technical Article for your reference.

If you are unable to access Other Mailbox then please upgrade to latest version of Aspose.Email for .NET. As you may know that we have split the network related functionality from email programming. Aspose.Email for .NET now contains all the email programming features. Please check out the Blog Announcement.

Please feel free to write back.