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 

Number of New Messages

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



Joined: 29 Jan 2008
Posts: 1

PostPosted: Tue Jan 29, 2008 6:52 pm    Post subject: Number of New Messages Reply with quote

I am looking for code to put in our intranet portal which will indicate the
number of unread (new) messages in a users exchange mailbox. The users of
the intranet have logged in with valid AD credentials. Our intranet is
written using ASP.NET and has some C#. Any code examples would be greatly
appreciated.

Thanks.

Archived from group: microsoft>public>exchange>development
Back to top
View user's profile Send private message
Glen Scales [MVP]



Joined: 05 Aug 2007
Posts: 92

PostPosted: Wed Jan 30, 2008 3:23 pm    Post subject: Re: Number of New Messages Reply with quote

What version of Exchange are you using 2000/3 or 2007 in Exchange 2000/3 you
can do this using WebDAV in 2007 you can do this using Exchange Web Services
(or WebDAV). To get the number of unread email in a folder you just need to
retrieve the PR_CONTENT_UREAD property of the folder in question
http://msdn2.microsoft.com/en-us/library/ms530684(EXCHG.10).aspx . Depending
on the version your using the methods may differ. What you might want to do
is download the Exchange SDK http://msdn.microsoft.com/exchange and read up
on the Exchange API's that are relative to the version of Exchange your
using for WebDAV do a search on propfind for EWS have a look at the
GetFolder operation.

Cheers
Glen

"Bill Westrate" wrote in message @microsoft.com...
>I am looking for code to put in our intranet portal which will indicate the
>number of unread (new) messages in a users exchange mailbox. The users of
>the intranet have logged in with valid AD credentials. Our intranet is
>written using ASP.NET and has some C#. Any code examples would be greatly
>appreciated.
>
> Thanks.

Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
Add the "Reply-To" header on some messages Hi to all, I need to add the "Reply-To" header on some messages. The main problem is that the function "Transport Rules" do not do this. I know that is possible to build a "Transport Agent", but honestly I do not know how do this. Somebody started a proje

OWA 2007 - hiding messages Hello All If I want a scenario where I want to completely hide certain emails from being displayed in OWA2007 (say, for example, emails with the word 'foo' in the subject), what would be the best way to go about this? I can hack code as well as the next m

Interception of all messages being sent, internal and extern What i need to do is be able to catch a message being sent by a user and modify that message for both the sender and the recipients. I am writing this for Exchange server 2003. Please any information would be greatly appreciated. Thank you, Nathan

Exchange SMTP sink for undeliverable messages A while ago I wrote a managed SMTP sink to redirect messages from one e-mail address to another. Now I am trying to write a sink to process all undeliverable messages. I have a system sending mass mail

Public folders, event sinks vs. conflict messages I've been developing a managed event sink dll similar to the reference from msdn using C#. I wrapped the dll in COM+ and and was able to register an event sink for asynchronous events on my public fol
Post new topic   Reply to topic    exchangefreaks.com Forum Index -> MS Exchange 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