[rt-users] HTML enabled templates / problem with attachments!

Thomas Sibley trs at bestpractical.com
Mon Dec 27 13:14:34 EST 2010


On 24 Dec 2010 06:34, Payam Poursaied wrote:
> When my users send HTML enable emails without any attachments, it works fine
> (i.e. the AdminCCs get the copy of incoming correspond in HTML enabled
> form). But if the correspond has any attachments, RT puts <PRE> </PRE>
> around $Transaction->Content() and puts only texts in the middle.

What version of RT are you running?  You may need to use
$Transaction->Content(Type => 'text/html') to force it to find the HTML
part of the mail.  Content type preference intuition is improved in
development versions of RT.

Thomas



More information about the rt-users mailing list