[rt-users] mail body: HTML with embedded CSS

2010-08-26 Thread Guadagnino Cristiano
Hi all, I'd like to change a few standard templates to HTML. I've been following the instructions found in http://wiki.bestpractical.com/view/SendHTMLEmail and added the Content-Type: text/html special header. Unfortunately RT issues an error while parsing the CSS part in the HTML source:

Re: [rt-users] mail body: HTML with embedded CSS

2010-08-26 Thread Jesse Vincent
Text::Template is the perl module RT uses for templates. It uses { and } for template delimiters. http://search.cpan.org/~mjd/Text-Template-1.45/lib/Text/Template.pm should show you how to escape your templates - specifically: