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.
 
Back
Top