<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!--P{margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hello,</p>
<p><br>
</p>
<p>You can set headers in mail, just add them at the top of your template used for sending, so something like this:</p>
<p>--- Start of template ---</p>
<p>thread-topic: [rt.example.com #{$Ticket->id}] {$Ticket->Subject}<br>
</p>
<p>thread-index: *However you choose to set it*</p>
<p><br>
</p>
<p>{$Transaction->Content()}<br>
</p>
<p>--- End of template ---</p>
<p><br>
</p>
<p>Also, keep whatever other headers you have. The easiest would be to just add them at the top of the template and keep the existing lines.<br>
</p>
<p>How you set the thread-index variable however, that I can't help you with.<br>
</p>
<p><br>
</p>
<div id="Signature">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
Med vennlig hilsen,<br>
Thomas Oddsund<br>
SDS/USIT<br>
</div>
</div>
<div style="color: rgb(33, 33, 33);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>Fra:</b> rt-users <rt-users-bounces@lists.bestpractical.com> på vegne av L B <bertignac@gmail.com><br>
<b>Sendt:</b> 31. august 2016 15:10<br>
<b>Til:</b> rt-users<br>
<b>Emne:</b> [rt-users] Conversation grouping by ticket in Outlook / Thread-Index & Thread-Topic</font>
<div> </div>
</div>
<div>
<div dir="ltr">Hi,
<div><br>
</div>
<div>Can RT send the Thread-Index & Thread-Topic fields as email headers? They are used for grouping conversations in Outlook and avoid seeing each emails of a same ticket in single conversations. </div>
<div><br>
</div>
<div>I saw here some email dumps with these fields: <a href="http://lists.bestpractical.com/pipermail/rt-devel/2008-November/010323.html">http://lists.bestpractical.com/pipermail/rt-devel/2008-November/010323.html</a></div>
<div><br>
</div>
<div>[...]</div>
<div>
<pre style="color:rgb(0,0,0)">Content-Transfer-Encoding: base64
thread-topic: [<a href="http://rt.example.com">rt.example.com</a> #1234] Bitte um Rückruf am Mittwoch
thread-index: AclI3xNq4KwWEYT8QX+ziU8EtI/A4g==
MIME-Version: 1.0 (iPhone Mail 5F136)</pre>
</div>
<div>[...]<br clear="all">
<div><br>
</div>
<div>but I couldn't find anything in RT Core or plugins/extensions to do this.</div>
<div><br>
</div>
<div>Am I missing something?</div>
<div><br>
</div>
<div>Thanks!<br>
</div>
<div>-- <br>
</div>
<div class="gmail_signature">L.B.</div>
</div>
</div>
</div>
</div>
</body>
</html>