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

Posted on 2004-11-12
Last Modified: 2012-05-05
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!
Question by:accentbiz

    Author Comment

    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?
    LVL 21

    Accepted Solution

    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:

    and info on CDOEXM can be found here:

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    Find out how to use dynamic social media in email signatures with this top 10 DOs & DON’Ts.
    Granting full access permission allows users to access mailboxes present in their database. By giving full access permission one can open and read the content of any mailbox but cannot send emails from that mailbox.
    The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
    how to add IIS SMTP to handle application/Scanner relays into office 365.

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now