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("to",xyz@abc.com);
param.put("fromEmailAddress", "abc@xyz.com");
// param.put("contentType", "plainText");
param.put("content", data_text);
param.put("isForward", "true");
header_data=map();
header_data.put("Content-Type", "text/html");
result = invokeurl
[
url: "https://desk.zoho.com/api/v1/tickets/"+id+"/sendReply"
type: POST
parameters: param.toString()
headers: header_data
connection:"zohodesk"
];
info result;
    Zoho Desk Resources

    • Desk Community Learning Series


    • Digest


    • Functions


    • Meetups


    • Kbase


    • Resources


    • Glossary


    • Desk Marketplace


    • MVP Corner


    • Word of the Day


      Zoho CRM Plus Resources

        Zoho Books Resources


          Zoho Subscriptions Resources

            Zoho Projects Resources


              Zoho Sprints Resources


                Zoho Orchestly Resources


                  Zoho Creator Resources


                    Zoho WorkDrive Resources



                      Zoho Campaigns Resources

                        Zoho CRM Resources

                        • CRM Community Learning Series

                          CRM Community Learning Series


                        • Tips

                          Tips

                        • Functions

                          Functions

                        • Meetups

                          Meetups

                        • Kbase

                          Kbase

                        • Resources

                          Resources

                        • Digest

                          Digest

                        • CRM Marketplace

                          CRM Marketplace

                        • MVP Corner

                          MVP Corner




                          Zoho Writer Writer

                          Get Started. Write Away!

                          Writer is a powerful online word processor, designed for collaborative work.

                            Zoho CRM コンテンツ




                              ご検討中の方