[rt-users] including HTML attachments on a comment action

Mark Blackman mark at exonetric.com
Tue Feb 1 07:20:46 EST 2011


On 1 Feb 2011, at 11:45, Jason A. Smith wrote:

> On 02/01/2011 06:31 AM, Mark Blackman wrote:
>> 
>> 
>> 3. most importantly, on "comment", have the HTML attachment sent to
>> the CC recipients as an HTML attachment (with little or no scrubbing)
>> for that ticket in step (1). This is critical
>> 
>> Despite using "RT-Attach-Message: yes" in the relevant template, this
>> is not happening.
>> 
>> Suggestions appreciated.
> 
> I am not sure if this is possible in rt-3.6.x, but 3.8 added much better html support, see: docs/templates.pod
> 
> Basically, in your templates, make sure the top contains:
> 
> Content-Type: text/html
> 
> and near the bottom where the message content is added, it has to be changed to:
> 
> {$Transaction->Content(Type => 'text/html')}

hmm, ok, thanks. I don't really follow that, but I'll try it.

Cheers,
Mark




More information about the rt-users mailing list