Re: Query tasks for all exchange mailboxes
Hello,
your task is not clear to me. Do you want to iterate through each users
mailbox and compile those tasklist for each user? Or do you just want to
create a task list for a specific user to print those in a certain
environment?
The most suitable API depends on the location where your code will run. If
it runs on the server, OOM is out of question, since Outlook is not
supported on the server (not until Exchange 2007).
MAPI is also not suitable, since it's not supported from managed code. You
can use WebDAV (http://msdn2.microsoft.com/en-us/library/aa486282.aspx), CDO
via Interop or CdoEx (only directly on the server). If you are using
Exchange 2007, you should probably use the WebServices offered by that
version.
I have a bunch of articles on my website regarding WebDAV
(http://www.infinitec.de).
Kind regards,
Henning Krause
"atl6373" wrote in message
news:2DAE7A22-8899-44D6-86AA-45874EC1B343@microsoft.com...
>I thought this would be a simple task but I have never done any programming
> where I needed to access data from Exchange. I'm trying to compile a list
> of
> all open tasks that each user has in their exchange mailbox. I simply
> want
> to query the data, so that I can print out a report of all open tasks.
> Seems
> simple (I thought it would be something that I could query like SQL) but
> I'm
> totally lost. I'm using c# as my development tool. I've been reading
> about
> OOM, CDO, etc. Any ideas? Just looking for someone to point me in the
> right
> direction.
> Ben
date: Thu, 27 Sep 2007 23:00:29 +0200
author: Henning Krause [MVP - Exchange]