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

Free Support Forum - aspose.com

GetContacts() Shows NullReferenceException while accessing contacts from office 365

Contact[] contacts = Client.GetContacts(Client.MailboxInfo.ContactsUri);

Shows NullReferenceException while accessing contacts from office 365. please provide the solution as soon as possible. I am also attaching a screenshot of exception message in visual studio.

@ravikumarchopra,

Please try it with the latest version of the API i.e. Aspose.Email for .NET 17.9 which works fine at our end. Let us know if you still face some issue. We’ll be glad to assist you further in this regard.