Link to home
Start Free TrialLog in
Avatar of Sandra Smith
Sandra SmithFlag for United States of America

asked on

Import only recent email in an email conversation

We are thinking about creating a database to house emails based on subject and project.  HOwever, many of the emails are "conversations", that is, a reply to a reply, etc.  Is there is a way to differentiate to only pull in the most recent "reply"?

Sandra
Avatar of Felix Grushevsky
Felix Grushevsky
Flag of United States of America image

read emails, organize it by Message-ID and sort by date
If you are using the entryid you could also look at the converstionid ... the longest conversationid is the latest mail.

Chris
Avatar of Sandra Smith

ASKER

The Message ID won't work as each email has one and the email only gets longer and longer with each iteration.  I don't want every single email with all the "conversation", I only want the most recent response or only the most recent reply to the "conversations".  So, If I understand you Chris, there is a conversationID that is associated with an email that consists of a string of replies to one after the other?  Then I can simply scan the email for the conversationid and check date for the most recent version?

Sandra
ASKER CERTIFIED SOLUTION
Avatar of Chris Bottomley
Chris Bottomley
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Seems as though I can follow the trail, thank you.

Sandra