get the total unread mails

Status
Not open for further replies.
B

bWFzYW5pIHBhcmVzaA

Could any one please tel me how to get the total unread mails? If possible

can we list out the total unread mail in each folders in Inbox?

Thanks,

Paresh
 
K

Ken Slovak - [MVP - Outlook]

Use the Unread property of a mail item for that. You can restrict the Items

collection of any folder to only include items with that property set as you

want and then use the Count property of that restricted Items collection, or

you can iterate the contents of any folder of interest and count which items

are read or unread.

"masani paresh" <masanip@deshaw.com> wrote in message

news:DF6A40B7-C086-4B18-8262-7C88E8641934@microsoft.com...
> Could any one please tel me how to get the total unread mails? If possible
> can we list out the total unread mail in each folders in Inbox?

> > Thanks,
> Paresh
 
Status
Not open for further replies.
Top