Hi ,

I need to write a code to check outlook inbox and count the number of emails per category and send an email with the number of emails per category at a predefined time.

Eg - Red category has 10 emails

I tried to use obj.item.count but i don't know how to incorporate the for loop for the categories .

Can someone please guide me ???