----- Original Message -----
From: "Rafizan Baharum" <[EMAIL PROTECTED]>


> hi
>
> im trying to build a mailing list/forum using james with database as
> backend. i managed to archive mails going thru each group but i have no
> idea on how to keep the messages as threaded messages. how do you check
> that message A is replying to message B and so on.. any idea on how to
> do this? can i set a flag in the mail header? TIA

There are unreliable mail headers that could contain this information.  I
know of "References", which might look something like this...

References:
 <[EMAIL PROTECTED]>
 <002f01c07750$d2513400$[EMAIL PROTECTED]>

(although it could just be on one line).

I've recently also seen In-Reply-To, e.g.,

In-Reply-To: <000d01c078ee$6da2a8a0$[EMAIL PROTECTED]>

Both of these a referring to the Message-ID header of the original message.
However, I've also seen many replies that do not have any such information,
so you might just have to fall back to checking subjects as a last resort.

Serge Knystautas
Loki Technologies
http://www.lokitech.com/



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives:  <http://www.mail-archive.com/james%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to