How can i send html data in email to a customer's ticket using deluge.

How can i send html data in email to a customer's ticket using deluge.

Can anyone just help me out from this problem. I want to send an email over a customer's ticket. I want that customer should get the executed html code. But i'm not able to send it. Customer is getting plain text with all html elements. like this:- <div style="font-size: 14px; color: red">Hello</div>. I want customer should only receive Hello with red color fonts.

data_text = '<div style="font-size:14px; color:red">Hello</div>';
param = map();
param.put("ticketStatus", "Closed");
param.put("channel" , "EMAIL");
param.put("fromEmailAddress", "");
// param.put("contentType", "plainText");
param.put("content", data_text);
param.put("isForward", "true");
header_data.put("Content-Type", "text/html");
result = invokeurl
url: ""+id+"/sendReply"
type: POST
parameters: param.toString()
headers: header_data
info result;

                            Zoho Desk Resources

                            • Desk Community Learning Series

                            • Digest

                            • Functions

                            • Meetups

                            • Kbase

                            • Resources

                            • Glossary

                            • Desk Marketplace

                            • MVP Corner

                            • Word of the Day

                                Zoho Marketing Automation

                                        Manage your brands on social media

                                                Zoho TeamInbox Resources

                                                  Zoho DataPrep Resources

                                                    Zoho CRM Plus Resources

                                                      Zoho Books Resources

                                                        Zoho Subscriptions Resources

                                                          Zoho Projects Resources

                                                            Zoho Sprints Resources

                                                              Qntrl Resources

                                                                Zoho Creator Resources

                                                                  Zoho WorkDrive Resources

                                                                    Zoho Campaigns Resources

                                                                      Zoho CRM Resources

                                                                      • CRM Community Learning Series

                                                                        CRM Community Learning Series

                                                                      • Tips


                                                                      • Functions


                                                                      • Meetups


                                                                      • Kbase


                                                                      • Resources


                                                                      • Digest


                                                                      • CRM Marketplace

                                                                        CRM Marketplace

                                                                      • MVP Corner

                                                                        MVP Corner



                                                                          Design. Discuss. Deliver.

                                                                          Create visually engaging stories with Zoho Show.

                                                                          Get Started Now