2
votes

I have the following problem. My java code is sending emails using smtp mail server. This emails have to be grouped in some sort of threads (like conversations in Exchange). And this conversations have to be viewed properly (as conversations :-)) in MS Outlook. Is there some email headers that could be utilized. I've bumped into "In-reply-To" header, but it doesn't seem to do the trick in Outlook. Any suggestions?

Thanks you in advance.

1
The proper header to use is References: but I don't know whether Outlook honors it; Microsoft have a devastating track record when it comes to these things. See also cr.yp.to/immhf/thread.htmltripleee
The Discourse guys went through this, it sounds like using both In-Reply-To: and References: does the trick, though it's not entirely clear and I haven't verified this. meta.discourse.org/t/emails-are-not-threaded-in-outlook-2013/…gregmac

1 Answers

0
votes

Use Thread-Index MIME header. See Tracking Conversations on MSDN for details on how PR_CONVERSATION_INDEX property is constructed.