Search code examples
c#webdavexchange-server-2003

How to resolve the email address of Exchange Server 2003 using WebDAV code


I have developed one application which used to send/receive mails using Exchange Server 2003, so in the email input box, if we enter any user's first name and click on some short cut key, I want to resolve that email address.

For example,

  1. Type "Pardha" in the input box
  2. Press cltl +r (short cut key)
  3. it should search in Exchange Server 2003 whose names starts with "Pardha", and it should resolve my emaild id as pardha@testserver.com
  4. If there are multiple users having the same name, then it should display the "select email id" dialog box to select the required email.

Solution

  • Exchange is the wrong place to search for users of the domain. Perform an ANR search on the Active Directory.

    See http://msdn.microsoft.com/en-us/library/ms180837(v=vs.80).aspx for sample code.