Re: Access mailbox contacts from .NET
From: Henning Krause [MVP] (newsgroup.no_at_spam.infinitec.de)
Date: 10/08/04
- Previous message: Glen Scales [MVP]: "Re: Access mailbox contacts from .NET"
- In reply to: mystiqu: "Access mailbox contacts from .NET"
- Messages sorted by: [ date ] [ thread ]
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
>
- Previous message: Glen Scales [MVP]: "Re: Access mailbox contacts from .NET"
- In reply to: mystiqu: "Access mailbox contacts from .NET"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|