get the total unread mails

  • Thread starter Thread starter masani paresh
  • Start date Start date
M

masani paresh

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?
 
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top