-
VBA to count received emails
I know this is already in use, but I cant find it anywhere. I need a VBA code to count the number of emails that a SHARED mailbox on Outlook exchange gets in a day.
So example, if 1 of our email box's gets 100 emails (this date) then I need it to tell me this. I have seen others code, but cant get it to work for mine. Any help, PLEASE????
-
i don't have a shared mailbox
if you set an items collection for that folder with events, you can then count each email that comes that is added in the additem event of the collection, store the value in some persistant location rather than variable, in case of system crash
or alternatively just do a count of messages with todays date, though any deleted or moved will not be counted
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules