Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows Server 2003Windows 2000Windows NTSmall Business ServerVirtual ServerExchange ServerIISHost Integration ServerISA ServerSMSWSUSMOMWindows Media ServerSecurityCertification
Related Topics
SQL ServerMS WindowsMS OfficePC HardwareMore Topics ...

Windows Server Forum / Exchange Server / Development / September 2007

Tip: Looking for answers? Try searching our database.

Query tasks for all exchange mailboxes

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
atl6373 - 24 Sep 2007 03:10 GMT
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
Henning Krause [MVP - Exchange] - 27 Sep 2007 22:00 GMT
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

>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
[quoted text clipped - 11 lines]
> direction.
> Ben
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.