Emails showing HTML code when being sent via API

Emails showing HTML code when being sent via API

When I try to email an invoice to a customer using the Zoho Invoice API, the customer sees a bunch of html code beneath the subject line (in the message preview). Please refer to the following screenshot taken from my iPhone's native Mail application:


The top email was sent using the Zoho Invoice web app on desktop. The bottom email was sent using the Zoho Invoice API, via a custom function within Zoho Creator. They are the exact same email with the exact same body. When I send it via your web app, the preview text shows my desired result. But when I send it via API, the preview text instead shows the HTML code used to build the email. This makes our emails look like SPAM to our customers, which is terrible.


After much trial and error, it seems to me that if I do NOT include the "cc_mail_ids" parameter, the issue is fixed. Therefore, I'm assuming there's a problem with Zoho's API. Please have your developers look into this. We shouldn't have to choose between CC'ing someone and making our emails look like spam.

Thank you!
Josh




                            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

                                                                      Tips

                                                                    • Functions

                                                                      Functions

                                                                    • Meetups

                                                                      Meetups

                                                                    • Kbase

                                                                      Kbase

                                                                    • Resources

                                                                      Resources

                                                                    • Digest

                                                                      Digest

                                                                    • CRM Marketplace

                                                                      CRM Marketplace

                                                                    • MVP Corner

                                                                      MVP Corner

                                                                    





                                                                    




                                                                        Design. Discuss. Deliver.

                                                                        Create visually engaging stories with Zoho Show.

                                                                        Get Started Now