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

Gregory Greafers gregory at accesskenya.com
Mon Jan 31 05:18:26 EST 2011


Kevin, 
What is the correct 


On Tue, 2011-01-25 at 14:50 -0500, Kevin Falcone wrote:
> 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);

What is the valid option here? Set($PreferRichText ??, ?);

Am looking into fixing this since we usually receive autoreplies with
"this transaction appears to have no content"
> 
> 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

-- 
Regards,

Gregory Okoth
NOC Engineer

Email:noc at accesskenya.com 
Tel:  (254 20) 360 0908
Fax: (254 20)(254 20) 360 0001









More information about the rt-users mailing list