| Threaded model using Message-Id:, In-Reply-To: and References: headers to
create a tree structure of discussions.
The algorithm works this way:
- save every header in hashmap, use Message-Id: as key, MessageNode as
value
- for each header, check if In-Reply-To:, or References: points to a
matching Message-Id:. If match was found, add header as child
author: fdietz |