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

Free Support Forum - aspose.com

ListContacts error


We are getting an error: “Specified argument was out of the range of valid values.” When trying to list the contacts from _client.ListContacts(_client.MailboxInfo.ContactsUri), see the supplied screenshots. We are using Aspose.Email 4.7.

Any ideas?


Hi Tommy,

Thank you for writing to Aspose Support team.

We have investigated this issue at our end using the latest version of Aspose.Email for .NET 4.7.0 and, unfortunately, were not able to reproduce the issue at our end. The contacts are listed fine from the Exchange contacts list. It seems that the issue is specific to some contact from your contacts list. Could you please add a try-catch block in your code and then provide us the problematic contact by manually downloading it from your Exchange account? We’ll add that to our test account and investigate the issue further by reproducing it at our end.