[rt-users] Autoreply html template returns transaction content as plain text

Johannes Kullberg johannes.kullberg at datagroup.fi
Tue Jan 25 13:40:14 EST 2011


Hello,

We have a public support queue and our customers wants html enabled emails.

We have an autoreply template that includes the ticket information. The reply is all html except the original requestors message that comes out plain text.
I suspect the "Transaction->Content()" should be modified but how? I have tried some solutions found on this mailing list but no success.
How can I get the whole message to show as HTML?

We have these enabled at RT_SiteConfig.pm

Set($PreferRichText, yes);
Set($TrustHTMLAttachments, 1);

This is how the autoreply template is set up now:

Content-Type: text/html
Subject: {$Ticket->Subject}
Content:

<font face="verdana" size="2">
Tämä on automaattinen viesti ja yhteenveto koskien huoltokutsua:<br><br>
                             <b>"{$Ticket->Subject()}"</b><br><br>

Mikäli  teillä tulee mitään lisättävää tähän huoltokutsuun, voitte lähettää lisätietoja vastaamalla tähän viestiin.
<br><br>
Tälle tapaukselle on luotu tunnistenumero:
<br><br>
<b>[{$Ticket->QueueObj->SubjectTag || $rtname} #{$Ticket->id()}]</b>
<br><br>
Pyydämme teitä jatkossa säilyttämään tunnistenumeron otsikkokentässä kaikessa tapaukseen liittyvässä kirjeenvaihdossa.
<br><br>
<center>
                        Kiitos,<br>
                        Ylläpito<br>
                        xxxxxxxxxxxxxxxxxx<br>
                        xxxxxx at xxxxxxxxxx<br>
                        puh.xxxxxxxxxxxxxx<br>
</center>
<br><br>
<br>
{$Transaction->Content()}
</font>

TIA, RT -rules,  a great peace of free software!

Johannes


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20110125/2d5edbf6/attachment.htm>


More information about the rt-users mailing list