outlook - Removing duplicates Mailitem based on Subject ,body , Recipient name,Received Time -
i using vs 2010 , dot net framework 2.0 . have created project in extensibility->shared add-ins outlook.
i want remove duplicate mail-item based on subject ,body , recipient name,received time want know can use search engine of outlook , remove duplicate or should use remove duplicates.what best , efficient way
please suggestions
this have done accomplish task. don't known efficient way or not?
1) created data-table , transverse each mail-item , added entryid,subject etc in data-table.
2) compared each element 1 one using select() on datatable , added in datarow [].
3) created mail-item using entryid.
4) , removed or moved mail-item
for 210 email process takes 25 secs. please comment , tell me if can enchanced.
Comments
Post a Comment