Posted: 29 Oct 2019 10:41 EDT Last activity: 6 Nov 2019 8:50 EST
How to find duplicate Emails with subject from Outlook and this duplicate E-mails will have same subject ?
I would like to find solution for task, where I am searching for duplicate E-mails in outlook. (inbox folder). Currently I search for email according to Exact Subject name and Folder where the email is located. I want to search duplicate E-mails with given subject.
The OutlookConnector has a method called RetrieveEmail where you provide it a folder and a ReadType. This will return a collection of emails from the folder. You can iterate through these by passing that collection to a ListLoop. You can extract a proxy from the Item property and it will represent one email in the collection. From there, you can check the email's properties to do with it whatever you need. In this case, compare the email's subject to the one you are looking for and if it matches, count it or do something to it.