VBA to delete duplicates by message-id on common pst for 2 or more emails

narendra

New Member
Outlook version
Outlook 2010 32 bit
Email Account
POP3
Hi,

I am running Outlook 2010 32-bit and I have a single PST for multiple POP3 email accounts (it works best for me to have all incoming emails in a single inbox and all emails i send into a single 'sent' folder).
But many times, people send emails to more than one of my email accounts (sometimes they enter one email address in recipient ('To') field and mark CC to my other email-id's & sometimes they put all the email-id's in recipient field). This results in duplicate emails sitting in my common inbox.

Since the message-id on these duplicate emails will be the same, is there a way I can set a VBA macro or a rule to accomplish the following?
a) Check Message-Id's to keep one email and delete rest of the duplicates already sitting in my inbox.
b) Using message-id's check and delete duplicates on incoming emails.

Thanks.
 
Top