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

2010-12-28 Thread Payam Poursaied
Date: Mon, 27 Dec 2010 13:14:34 -0500
From: Thomas Sibley t...@bestpractical.com

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

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
Description: S/MIME cryptographic signature


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

2010-12-27 Thread Thomas Sibley
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


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

2010-12-24 Thread Payam Poursaied
Hi all
I have created HTML enabled templates.

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

p dir=ltrfont face=Tahoma
a
href={RT-Config-Get('WebURL')}Ticket/Display.html?id={$Ticket-id}{RT-
Config-Get('WebURL')}Ticket/Display.html?id={$Ticket-id}/a/font
/p
/br
{$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 PRE /PRE
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
Description: S/MIME cryptographic signature