Quantcast
Channel: Aspose.Email Product Family
Viewing all articles
Browse latest Browse all 1367

EWSClient GetContact exception

$
0
0
When our code executes "Contact c = ewsClient.GetContact(sEntryID);" An exception "Object reference not set to an instance of an object." is raised. The stack trace shows the exception is raised by
"at Aspose.Email.MailAddress".

The code is accessing an exchange account on Microsoft Office Outlook Web Access. During testing I added a contact and provided a name and 1 email address. Accessing this entry raised the exception. I tried with 2 more contacts, one with 2 email addresses and one with 3 email addresses. The 3 email address entry worked as expected. The 1 and 2 email address entries both failed.

Thanks for looking into this.

Viewing all articles
Browse latest Browse all 1367

Trending Articles