HTML enabled templates / problem with attachments!

Hi all
I have created HTML enabled templates.

This is my template for "Admin Correspondence"
RT-Attach-Message: yes
Content-Type: text/html

{RT-> Config->Get('WebURL')}Ticket/Display.html?id={$Ticket->id}

{$Transaction->Content()}

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

 

around $Transaction->Content() and puts only texts in the middle.

I found that even if I removed “RT-Attach-Message: yes” directive, the same
behavior occurs.
Could someone explain if I am wrong?
As we are working with RT in non English and Right to Left context, we are
relaying on HTML enabled templates and it is very important for us to have
our notifications (i.e. for CCs, Requestors and AdminCCs) in HTML enabled
forms.

Any help is appreciated

Best Regards
Payam Poursaied

smime.p7s (5.06 KB)

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

 

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

Date: Mon, 27 Dec 2010 13:14:34 -0500
From: Thomas Sibley trs@bestpractical.com

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

 
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

Dear Thomas
Thank you for your response. I am using 3.8.8. I tried what you recommended,
but there wasn’t any success.

smime.p7s (5.06 KB)