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

Kevin Falcone falcone at bestpractical.com
Mon Jan 31 08:10:33 EST 2011


On Mon, Jan 31, 2011 at 01:18:26PM +0300, Gregory Greafers wrote:
> 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 ??, ?);

The documentation above it in the config files specified what to put
there.  

-kevin

> 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
> 
> 
> 
> 
> 
> 
-------------- 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/20110131/bff807aa/attachment.sig>


More information about the rt-users mailing list