Discussion:
Thread-Index
(too old to reply)
Arnaud
2005-10-03 09:42:51 UTC
Permalink
Hello,

Can anyone provide and explanation or example of how to encode or decode
the mail header field "thread-index'?

Thank a lot if possible.

Arnaud.
Kjetil Torgrim Homme
2005-10-03 13:06:17 UTC
Permalink
Post by Arnaud
Can anyone provide and explanation or example of how to encode or
decode the mail header field "thread-index'?
"Thread-Index" is a Microsoft invention, and I don't think they've
documented it anywhere. you should be using "References" instead as
that is the Internet standard, see RFC 2822, section 3.6.4
"Identification fields".
--
Kjetil T.
Arnaud
2005-10-03 14:10:51 UTC
Permalink
Post by Kjetil Torgrim Homme
Post by Arnaud
Can anyone provide and explanation or example of how to encode or
decode the mail header field "thread-index'?
"Thread-Index" is a Microsoft invention, and I don't think they've
documented it anywhere. you should be using "References" instead as
that is the Internet standard, see RFC 2822, section 3.6.4
"Identification fields".
Thanks for your response Kjetil.

First i know this is a non rfc compliant microsoft header, but i have
some mail without "In-Reply-To" and "References" headers !?

So, i must decode Thread-Index to find the id parent.

Any idéa ?

Regards,
Arnaud.
Jorgen Grahn
2005-10-03 18:40:52 UTC
Permalink
Post by Arnaud
Post by Kjetil Torgrim Homme
Post by Arnaud
Can anyone provide and explanation or example of how to encode or
decode the mail header field "thread-index'?
"Thread-Index" is a Microsoft invention, and I don't think they've
documented it anywhere. you should be using "References" instead as
that is the Internet standard, see RFC 2822, section 3.6.4
"Identification fields".
Thanks for your response Kjetil.
First i know this is a non rfc compliant microsoft header, but i have
some mail without "In-Reply-To" and "References" headers !?
So, i must decode Thread-Index to find the id parent.
Well, you don't /have to/ do anything. Treating those messages as the
broken messages they are is perfectly acceptable. To me, at least.

A bit of googling found an entity called Travis L. Williams on the Mhonarc
mailing list, who claimed to know that header worked. No details though.

/Jorgen
--
// Jorgen Grahn <jgrahn@ Ph'nglui mglw'nafh Cthulhu
\X/ algonet.se> R'lyeh wgah'nagl fhtagn!
Arnaud
2005-10-04 07:28:36 UTC
Permalink
Post by Jorgen Grahn
Well, you don't /have to/ do anything. Treating those messages as the
broken messages they are is perfectly acceptable. To me, at least.
A bit of googling.....
A bit of googling....Your joke i suppose. I spend about 3 weeks to find
some information about this header. Give me an url who explain in detail
the purpose of it, and of course how to decode it. I'll give your money
for a beer.....;)

Ok. So imagine i have subscribe many mailing-list. I stocke those mail
in a maildir format. Now, i want to develop an VB application, for
exemple, which can reconstitute the threading of each discussion. In
most of the messages, i found headers "In-Reply-To" and "References" who
s give me the capability to do what i want. But some message, delivery
by M$ Exchange no have thoses headers, but the Thread-Index. Now,
please, how do find the parent ? Let's me know how you do this ?

Thunderbird, Evolution, for example, decode it and attach those mail to
it parent.

Thank a lot and sorry for my poor english (french)
Arnaud.
Kjetil Torgrim Homme
2005-10-04 08:03:35 UTC
Permalink
Post by Arnaud
Thunderbird, Evolution, for example, decode it and attach those
mail to it parent.
Evolution does not (I just searched the source code), but I guess you
can ask it to group messages by Subject.
--
Kjetil T.
Arnaud
2005-10-04 08:13:18 UTC
Permalink
Post by Kjetil Torgrim Homme
Post by Arnaud
Thunderbird, Evolution, for example, decode it and attach those
mail to it parent.
Evolution does not (I just searched the source code), but I guess you
can ask it to group messages by Subject.
perhaps this ?
http://cvs.gnome.org/viewcvs/evolution-exchange/camel/camel-exchange-folder.c?rev=1.10

Argh, i think about do it too, but i just rattach the mail to the
initial post, not threading.

Thank Kjetil,
Arnaud.
Kjetil Torgrim Homme
2005-10-04 11:23:22 UTC
Permalink
Post by Arnaud
perhaps this ?
http://cvs.gnome.org/viewcvs/evolution-exchange/camel/camel-exchange-folder.c?rev=1.10
ah, I didn't think about the Exchange Connector, sorry about that.
Post by Arnaud
Argh, i think about do it too, but i just rattach the mail to the
initial post, not threading.
well, the comment in that code seems to have the information needed to
find the topmost parent of the thread, at least. I understand the
comment to mean there is no threading tree information at all, only
enumeration.

good luck!
--
Kjetil T.
Arnaud
2005-10-04 11:40:36 UTC
Permalink
Kjetil Torgrim Homme a écrit :
...
Post by Kjetil Torgrim Homme
good luck!
Thanks !
Jorgen Grahn
2005-10-04 19:24:19 UTC
Permalink
Post by Arnaud
Post by Jorgen Grahn
Well, you don't /have to/ do anything. Treating those messages as the
broken messages they are is perfectly acceptable. To me, at least.
A bit of googling.....
A bit of googling....Your joke i suppose. I spend about 3 weeks to find
some information about this header. Give me an url who explain in detail
the purpose of it, and of course how to decode it. I'll give your money
for a beer.....;)
No joke, although it's a bit of a pain to google for Thread-Index, since you
get a lot of false positives. The URL I'm referring to is

http://www.mhonarc.org/archive/html/mhonarc-users/2003-07/msg00015.html

where Williams, Travis L, NPONS writes:

We've figured out how [Thread-Index] works.. (how to tell which messages
are replys to which messages).. (well we're 99% sure ;) ).. but we where
going to try and see if we know the real replies can we just add a
in-reply-to header with the proper message ID?

And that is all I know.

/Jorgen
--
// Jorgen Grahn <jgrahn@ Ph'nglui mglw'nafh Cthulhu
\X/ algonet.se> R'lyeh wgah'nagl fhtagn!
Loading...