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 / Applications / September 2006

Tip: Looking for answers? Try searching our database.

Getting used quota and number of unread messages

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
cmuntada - 20 Sep 2006 09:32 GMT
Hello,

My company offers a web portal where our clients find all kind of usefull
information and services, between those services we offer web mail based on
Exchange 2003.

In the home page of the portal we show the mail used quota % and the number
of unread messages (from this home page, the users can link to the OWA
aplication if they want to).

So far we are using Webdav and we have tested WMI to retrieve this info,
both technologies are too slow for our needs (we receive mora than 30
requests per second) and Webdav takes almost 0.15 seconds to get the info.

Is there any way to achieve this functionality (retrieve used quota and
number of unread messages) using Extended Mapi? I guess it will be much
faster. We have never used this technology and even though we found some
examples over the internet we were not capable of making it work.

Has anyone done a similiar work?

Thanks,

Carles
cmuntada - 20 Sep 2006 12:57 GMT
I forgot to mention that we are considering the possibility to subscribe to
the OnSave and OnDelete Event Sinks for Exchange. The event handler would
compute the quota and unread messages and store the info in a table in our
main application SQL server.

Our doubt is how to subscribe to all the folders of the storage group.
Subscriptions seem to be at a mailbox level.

We could write a script to subscribe to all the folders  in the storage
group but that doesn't seem very smart.

Any advice?
Henning Krause - 20 Sep 2006 13:25 GMT
Hello,

store events are bound to a mailbox unless you bind it to the
system-mailbox. In this case it fires for all messages in a particular
store.

But this event is not triggered for changes of the read-flag.

What language are you using? If you are using .NET, then MAPI is not a
suitable way - it's not supported from a .NET context.

Best regards,
Henning Krause

----------------------------------------------------------------------------
Visit my website: http://www.infinitec.de
Exchange access library  -
http://www.infinitec.de/software/nettoolbox/infinitec.exchange.aspx

>I forgot to mention that we are considering the possibility to subscribe to
> the OnSave and OnDelete Event Sinks for Exchange. The event handler would
[quoted text clipped - 8 lines]
>
> Any advice?
cmuntada - 20 Sep 2006 14:01 GMT
Thanks Henning,

We use C# for our main application, in any case, we have no problem on
developing some modules in C++.

We will test your suggestion about using the System-mailbox.

Thanks,

Carles

> Hello,
>
[quoted text clipped - 27 lines]
> >
> > Any advice?
 
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.