Unable to send text/html mails from RT web interface. using RT 3.8.6-2 in Debian Lenny.
I could send html mails in auto reply templates by setting content-type to text/html. When sending mails from RT web interface content-type is changing to
text/plain, even it is html content
Is there any configuration require to enable html mail? I am facing this problem for a long time.
I enabled PreferRichText in RT_SiteConfig.pm
-Praveen-
Unable to send text/html mails from RT web interface. using RT 3.8.6-2 in Debian Lenny.
I could send html mails in auto reply templates by setting content-type to
text/html. When sending mails from RT web interface content-type is changing to
text/plain, even it is html content
Is there any configuration require to enable html mail? I am facing this problem for a long time.
I enabled PreferRichText in RT_SiteConfig.pm
Have you followed the documentation in docs/templates.pod ?
Have you followed the documentation in docs/templates.pod ?
I refered docs/templates.pod. That helped me to send html mails using templates. When I am sending from RT web interface for replying any ticket, mails not parsing to html and sending as content-type: text/plain
Have you followed the documentation in docs/templates.pod ?
I refered docs/templates.pod. That helped me to send html mails using templates. When I am
sending from RT web interface for replying any ticket, mails not parsing to html and sending
as content-type: text/plain
All mail sends using templates.
It sounds like your correspondence templates are not html
One thing you may have to watch out for, that initially got me and went
unnoticed for quite a while. At the bottom of the template you usually
have something like this:
{$Transaction->Content()}
You will want to change to be:
{$Transaction->Content(Type => ‘text/html’)}
RT internally handles the conversions back and forth between text &
html.
I noticed that the html → text conversion can be a little buggy
sometimes, doing unusual things with line wrapping and spacing depending
on what is on the end of a line (tags or whitespace). My guess is that
HTML::FormatText is a little buggy when writing out plain text from the
parsed html tree, but I haven’t bothered digging into it.
~JasonOn Mon, Mar 29, 2010 at 10:27:45AM +0530, Praveen C wrote:
All mail sends using templates.
It sounds like your correspondence templates are not html
Thanks for your reply. Can you help me to enable this ??
Apply the documentation in docs/templates.pod to your Correspondence
templates
-kevin
/------------------------------------------------------------------
| Jason A. Smith Email: smithj4@bnl.gov |
| Atlas Computing Facility, Bldg. 510M Phone: +1-631-344-4226 |
| Brookhaven National Lab, P.O. Box 5000 Fax: +1-631-344-7616 |
| Upton, NY 11973-5000, U.S.A. |
------------------------------------------------------------------/
One thing you may have to watch out for, that initially got me and went
unnoticed for quite a while. At the bottom of the template you usually
have something like this:
{$Transaction->Content()}
You will want to change to be:
{$Transaction->Content(Type => ‘text/html’)}
RT internally handles the conversions back and forth between text &
html.
I noticed that the html → text conversion can be a little buggy
sometimes, doing unusual things with line wrapping and spacing depending
on what is on the end of a line (tags or whitespace). My guess is that
HTML::FormatText is a little buggy when writing out plain text from the
parsed html tree, but I haven’t bothered digging into it.
~Jason
All mail sends using templates.
It sounds like your correspondence templates are not html
Thanks for your reply. Can you help me to enable this ??
Apply the documentation in docs/templates.pod to your Correspondence
templates
-kevin
–
/------------------------------------------------------------------
| Jason A. Smith Email: smithj4@bnl.gov |
| Atlas Computing Facility, Bldg. 510M Phone: +1-631-344-4226 |
| Brookhaven National Lab, P.O. Box 5000 Fax: +1-631-344-7616 |
| Upton, NY 11973-5000, U.S.A. |
------------------------------------------------------------------/
One thing you may have to watch out for, that initially got me and went
unnoticed for quite a while. At the bottom of the template you usually
have something like this:
{$Transaction->Content()}
You will want to change to be:
{$Transaction->Content(Type => ‘text/html’)}
RT internally handles the conversions back and forth between text &
html.
I noticed that the html → text conversion can be a little buggy
sometimes, doing unusual things with line wrapping and spacing depending
on what is on the end of a line (tags or whitespace). My guess is that
HTML::FormatText is a little buggy when writing out plain text from the
parsed html tree, but I haven’t bothered digging into it.
~Jason
All mail sends using templates.
It sounds like your correspondence templates are not html
Thanks for your reply. Can you help me to enable this ??
Apply the documentation in docs/templates.pod to your Correspondence
templates
-kevin
–
/------------------------------------------------------------------
| Jason A. Smith Email: smithj4@bnl.gov |
| Atlas Computing Facility, Bldg. 510M Phone: +1-631-344-4226 |
| Brookhaven National Lab, P.O. Box 5000 Fax: +1-631-344-7616 |
| Upton, NY 11973-5000, U.S.A. |
------------------------------------------------------------------/