exchangefreaks.com Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Query tasks for all exchange mailboxes

 
Post new topic   Reply to topic    exchangefreaks.com Forum Index -> MS Exchange 2000 Development
Author Message
atl6373



Joined: 28 Sep 2007
Posts: 1

PostPosted: Sun Sep 23, 2007 11:10 pm    Post subject: Query tasks for all exchange mailboxes Reply with quote

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

Archived from group: microsoft>public>exchange2000>development
Back to top
View user's profile Send private message
Henning Krause [MVP - Exc



Joined: 05 Aug 2007
Posts: 142

PostPosted: Fri Sep 28, 2007 3:00 am    Post subject: Re: Query tasks for all exchange mailboxes Reply with quote

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 @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

Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
Synchronizing Exchange2000 contacts, appointments and tasks: Hi all, I wanted to write an application synchronizing contacts, appointments and tasks contained in a relational database with contacts, appointments and tasks contained in public folders or personal folders of multiple users in an Exchange 2000 server.

Create mailboxes in Exchange 2007 using C++ code Hi, I'm trying to write a windows program that will create mailboxes on an exchange 2007 server. I'm trying to write something that has the minimum amount of dependencies. From my initial research, it seems like the only integration point is through the

Creating User Accounts & Mailboxes Hi, I'm struggling a little here. Have a home grown web based application that we use to create user accounts in AD. I'm trying to modify this to include creating the Exchange 2000 mailbox also (I'm not a programmer). I understand I need to use CDOEXM to

Need to use OnSave event to read email in all mailboxes, not We would like to use an OnSave event to trigger a read of email in all mailboxes, not just the mailbox of the logged-in user. ExOLEDb will let us read a mailbox, but it appears to be limited to reading only the mailbox of the logged-in user. We want to r

[C#][Exchange] How it works? Hi, I try to use .NEt application with Exchange 2000 But I have problem. I do this example: I have an exception on: "", "", -1); The exception is: Provider cannot be found. It may not be properly
Post new topic   Reply to topic    exchangefreaks.com Forum Index -> MS Exchange 2000 Development All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group