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

Kevin Falcone falcone at bestpractical.com
Tue Jan 25 14:50:50 EST 2011


On Tue, Jan 25, 2011 at 08:40:14PM +0200, Johannes Kullberg wrote:
>    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.
> 
>    We have these enabled at RT_SiteConfig.pm
> 
>    Set($PreferRichText, yes);

This isn't a valid value for PreferRichText

>    Set($TrustHTMLAttachments, 1);

But neither of those affect outgoing mail anyway.

>    {$Transaction->Content()}

I suspect you want Type => 'text/html' there

-kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20110125/9e1f9fbf/attachment.sig>


More information about the rt-users mailing list