• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 533
  • Last Modified:

How to programmatically import a bunch of contacts into an Exchange Public Folder?

I'm trying to programmatically import a bunch of contacts into an Exchange Public Folder.  What's the best way to do this?

The language I'm using is C#/.NET.  I already have code to import contacts into the Global Address List, and I'm wondering if Exchange Public Folders can be imported into in the same way (through Active Directory), or if I need to use the MAPI interface?

Thanks a lot!
0
accentbiz
Asked:
accentbiz
1 Solution
 
accentbizAuthor Commented:
Also, if it turns out the I can import into a Public Folder by working with Active Directory, how would I find out the LDAP "address" of the Public Folder?
0
 
marc_nivensCommented:
You can't do it with ADSI/System.DirectoryServices because you need to access the public store.  You could either use CDO/MAPI or WebDAV depending on your preference.  Info on WebDav can be found here:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/e2k3/e2k3/_e2k3_http_webdav_access.asp

and info on CDOEXM can be found here:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/e2k3/e2k3/_e2k3_http_webdav_access.asp
0

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now