[rt-users] How to enable HTML trmplates in RT

Praveen Velu praveen.velu at hotmail.com
Wed Nov 11 04:05:39 EST 2009


Hi,

I have added these settings in RT_SiteConfig.pm. Still I am getting mails in plain/text format. I have installed Request tracker 3.8 in Debian Lenny

-Praveen-

This may have some bearing on things,  unsure but worth a try.

In RT_SiteConfig.pm make sure to have, if you don't then add these in.

Set($TrustHTMLAttachments, 1);
Set($PreferRichText, 1);

Another thing,  not the empty line under Content: If you don't have this blank line the template will not work as HTML.



--
Regards 

Aaron


On Tue, Nov 10, 2009 at 6:45 PM, Praveen Velu <praveen.velu at hotmail.com> wrote:







Dear Aaron,

Thanks for your quick help. I added same template for testing. Still I am getting mails in text/plain format. Is there any settings I have to do for enable html in request tracker 3.8. 

If I reply to a mail from rt web interface by adding any hyper-links to body. I am not getting any hyper-links at receiving end. 



-Praveen-
 

All I did was setup the templates as shown in the example below;



Subject: Resolved: {$Ticket->Subject}
Content-Type: text/html
Content: 

<table border="0" cellpadding="0" width="644">


 <tr>
 <td colspan=2 height="53"><p><font face="Verdana" size="2">You logged a job (SR#) with the Sitel IT Service Desk which we believe we have now resolved, please take the time to complete a short survey in relation to that job.<br />




 </font><td height="53">
 <tr>
 <td><font face="Verdana" size="2"><b>Sitel users please click below</b><br />
 <a target="_blank" href="http://i3/pages/surveys/it_servicedesk_satisfaction.asp?rtid={$Ticket->id}">




 <img border="0" src="http://10.67.1.138:8004/images/buttons/begin_survey.gif"
alt="Begin Survey" width="150" height="53"></a> 




 <br></font></td>
 <td><font face="Verdana" size="2"><b>Genesis users please click below</b><br />
 <a target="_blank" href="http://10.67.1.138:8004/pages/surveys/it_servicedesk_satisfaction.asp?rtid={$Ticket->id}">




 <img border="0" src="http://10.67.1.138:8004/images/buttons/begin_survey.gif" alt="Begin Survey"width="150" height="53"></a> 




 <br>
 </font>
 </td></tr>
 <tr>
 <td colspan="2"><font face="Verdana" size="2">If the job has not been 
 resolved or you have any further questions or concerns, please reply to this 




 message or call us on extension 7804 (+64 7 838 7804)<br>
  </font></td>
 </tr>
 <tr><font face="Verdana" size="6"><br>
 <br>
 <b>Note: Any replies to this email will reopen the job</b></font> </p>




 <font face="Verdana" size="2"></td>
 </font>
 </tr>
 <tr>
 <td><p><font face="Verdana" size="2"><b><br>



 S<font color="red">i</font>tel NZ Information Technology</b><br>

 Level 3, ASB Building<br>
 500 Victoria Street<br>
 Hamilton, New Zealand<br>
 +64 7 838 7804</font></p></td>
 </tr>
 </table>

Then clearly adjusted the scrips to fire off the amended template.  This one was for OnResolve.





--
Regards 

Aaron

On Mon, Nov 9, 2009 at 6:11 PM, Praveen Velu <praveen.velu at hotmail.com> wrote:







Hi,

I am using RT 3.8 installed in Debian Lenny. I changed my default templates to html. but I am getting mails in plain text. When i receive mails, header shows 'Content-Type: text/plain; charset="utf-8"'.After a long search I came to know that due to security RT enabled only text/plain. how can i enable html email in RT. 




Thanks for any help in advance

-Praveen-
 		 	   		  
http://windows.microsoft.com/shop Find the right PC for you.

_______________________________________________

http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users



Community help: http://wiki.bestpractical.com

Commercial support: sales at bestpractical.com





Discover RT's hidden secrets with RT Essentials from O'Reilly Media.

Buy a copy at http://rtbook.bestpractical.com


-- 
Regards,

Aaron

 		 	   		  


New Windows 7: Find the right PC for you. Learn more.


-- 
Regards,

Aaron

 		 	   		  
_________________________________________________________________
Windows 7: Find the right PC for you. Learn more.
http://windows.microsoft.com/shop
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20091111/e9df2120/attachment.htm>


More information about the rt-users mailing list