Quantcast
Channel: Exchange Server 2010 forum
Viewing all articles
Browse latest Browse all 19436

retrieving contact list for user via EWS

$
0
0

Hi,

I am using EWS Api with exchange 2010 to retrieve a contact list.  The contact list contains the name, phone and email of each contact.  The issue is with the email...  I am accessing the email property in the contact object via the following:   r["Email"] = contact.EmailAddresses[EmailAddressKey.EmailAddress1]; 

for internal contacts in the list, the email comes back in one of two ways, 

1. a normal email address ie.  me@domain.com

2.  /o=BRRDRTY/ou=XX/cn=Recipients/cn=Jwater  --  I believe this is reffered to a ExchangeLDN address?

How do I get the regular SMTP address as in #1 for all contacts?

Thank you,










Viewing all articles
Browse latest Browse all 19436

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>