Coming soon: Your brand new Help Center & Community! Get a sneak-peek here

why message is sent in html source code?


in CS the Template (id 52) is defined with simply HTML-Text just like other template:

I have implemented in crm scripts to send message with this template in html body:

Parser parser = getParser(); //parser Instance to replace the template variable


Integer rtId = 52; 
ReplyTemplate replyTemplate;
String subject2 = parser.parseString(replyTemplate.getSubject(0)) + " - (MBS Support ID: " + ticketId + ") "+ subject;
String body = parser.parseString(replyTemplate.getHtmlBody(0));

but each time if scripts triggerd, the message was always send with html sorce code, why?