Re: Access mailbox contacts from .NET

From: Henning Krause [MVP] (newsgroup.no_at_spam.infinitec.de)
Date: 10/08/04

  • Next message: Xiemy: "Why The link adress has been filtered When I Open Email With OWA?"
    Date: Fri, 8 Oct 2004 08:36:41 +0200
    
    

    Hello,

    You cannot use DirectoryServices to access a mailbox or public folder since
    that information is not stored in Active Directory.

    To access mailbox or public folders you'll have to use different techniques,
    such as WebDAV, ADO, CDOEx.

    If the Exchange server is not on the same server as your contact management
    software, it would IMHO be the best if you use WebDAV, which is a protocol
    based on HTTP.

    A good starting point for WebDAV is the MSDN Library:
    WebDAV Reference
    (http://msdn.microsoft.com/library/en-us/e2k3/e2k3/wss_references_webdav.asp
    )
    Lots of samples
    (http://msdn.microsoft.com/library/en-us/e2k3/e2k3/_e2k3_tasks.asp)

    I've written an article on how to get an Inbox folder based on a windows
    username: http://www.infinitec.de/link.ashx?id=IT000022.

    Since you are using .NET you may want to try out my free WebDAV Layer for
    Exchange. Unfortunately its undocumented until now...

    Greetings,
    Henning Krause [MVP]
    ==========================
    Visit my website: http://www.infinitec.de
    Try my free Exchange Explorer: Mistaya
    (http://www.infinitec.de/?page=products)

    "mystiqu" <micke.hakansson@gmx.net> wrote in message
    news:f2f38c706fd0e1d543c8cea628fd5081@localhost.talkaboutsoftware.com...
    > I´m trying to write a contact management application in .NET which will
    > list a specific users mailbox information from an exchange server (such as
    > contacts etc).
    >
    > I´m using System.DirectoryServices functions to connect to the server and
    > make queries based on LDAP strings.
    >
    > I can list users, groups, computers etc.
    > However, I have no idea how to find a users mailbox and how to retreive
    > information from it.
    >
    > Does anyone know where to begin?
    > I´m a real newbie when it comes to active directory and exchange servers.
    >
    > Thanks
    > //Mikael
    >


  • Next message: Xiemy: "Why The link adress has been filtered When I Open Email With OWA?"

    Relevant Pages

    • Re: Read inboxes of various mailboxes on Exchange Server
      ... Here is a list of of the WebDAV scheme used by exchange: ... To get the attachments, you must use the propietary X-MS-ENUMATTS method ... > at sending a query to our Exchange Server to return back data I needed. ... >> In this case do a PROPFIND on the mailbox root and retrieve the property ...
      (microsoft.public.exchange2000.development)
    • Re: Read inboxes of various mailboxes on Exchange Server
      ... at sending a query to our Exchange Server to return back data I needed. ... to check if an email "has attachments", I needed to search on something like ... show how to retrieve all the attachments an email has using WebDAV and Visual ... > If you have only one server, you can skip that part and access the Mailbox ...
      (microsoft.public.exchange2000.development)
    • Re: Read inboxes of various mailboxes on Exchange Server
      ... you can do this with WebDAV. ... If you have more than one Exchange server, ... If you have only one server, you can skip that part and access the Mailbox ... then the path of your inbox folder differs. ...
      (microsoft.public.exchange2000.development)
    • Re: CDO.Person - Component Not Registered
      ... WebDav is not a management component, ... folder resources(the mailbox or public folder must exist before webdav has ... >> any way to use CDO without running the code on an Exchange server (i.e. is ...
      (microsoft.public.exchange.development)
    • Re: How to post message to Exchange server ?
      ... Do they just want them added to a public folder for people to peruse? ... > Exchange Server. ... > P.S: I have tried WebDAV. ...
      (microsoft.public.exchange.clients)

    Loading