<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Thanks Jason<br><br>I done the same in Correspondence teplates. But I am getting mails like this :( <br><br><pre><strong>bvcbvcbvc<br /><br></strong><br></pre>
Mails body contains html tags but Content Type still remains text/plain <br><pre><br></pre><br><br><b>-Praveen-<br></b><br>> From: smithj4@bnl.gov<br>> To: rt-users@lists.bestpractical.com<br>> Date: Mon, 29 Mar 2010 16:30:47 -0400<br>> Subject: Re: [rt-users] Sending html mails using web interface<br>> <br>> One thing you may have to watch out for, that initially got me and went<br>> unnoticed for quite a while. At the bottom of the template you usually<br>> have something like this:<br>> <br>> {$Transaction->Content()}<br>> <br>> You will want to change to be:<br>> <br>> {$Transaction->Content(Type => 'text/html')}<br>> <br>> RT internally handles the conversions back and forth between text &<br>> html.<br>> <br>> <br>> I noticed that the html -> text conversion can be a little buggy<br>> sometimes, doing unusual things with line wrapping and spacing depending<br>> on what is on the end of a line (tags or whitespace). My guess is that<br>> HTML::FormatText is a little buggy when writing out plain text from the<br>> parsed html tree, but I haven't bothered digging into it.<br>> <br>> ~Jason<br>> <br>> <br>> On Mon, Mar 29, 2010 at 10:27:45AM +0530, Praveen C wrote:<br>> > > All mail sends using templates.<br>> > > It sounds like your correspondence templates are not html<br>> > <br>> > Thanks for your reply. Can you help me to enable this ??<br>> > <br>> <br>> Apply the documentation in docs/templates.pod to your Correspondence<br>> templates<br>> <br>> -kevin<br>> <br>> <br>> -- <br>> /------------------------------------------------------------------\<br>> | Jason A. Smith Email: smithj4@bnl.gov |<br>> | Atlas Computing Facility, Bldg. 510M Phone: +1-631-344-4226 |<br>> | Brookhaven National Lab, P.O. Box 5000 Fax: +1-631-344-7616 |<br>> | Upton, NY 11973-5000, U.S.A. |<br>> \------------------------------------------------------------------/<br>> <br> <br /><hr />The best dressed and the most admired <a href='http://lifestyle.in.msn.com/' target='_new'>Drag n' drop</a></body>
</html>