How to attach an inline image in a send mail task

How to attach an inline image in a send mail task

Let's imagine you have a form in your application with an image field. This image can be added as an inline element on the mail body and sent to the desired users along with the Deluge send mail task.
Note:
- In order to insert an image as an inline element in the email, you must first publish the report containing the image or ensure it is a public image with a publicly accessible URL.
- The files that you upload will be scanned for any virus before email submission. You will have to upload a different file if the uploaded file contains a virus.
  1. Create a workflow to execute on your preferred form event.

  2. Click Add New Action > Deluge Script and add the following script to the Deluge editor.

  1. Image_URL = "https://creatorapp.zohopublic.com/file/<account_owner_name>/<app_link_name>/<report_link_name/<recordID>/<image_field>/image-download/<published _key>?filepath=/<file_name>"
  2. //Replace the placeholders with the relevant data, 
  3. //For example, https://creatorapp.zohopublic.com/file/zylker/vendors/All_Logos/4359134000000616055/Image/image-download/O7nQEMHydShGuQvCPOxjqSgfmPD35ObvepUf9VY4BKYYvkYXz1gxB4r3p42AvdAqbVRX6TpZa9vQ83hO3kMdCMrd7ueGyHEA2qxS?filepath=/1706480540283_logo-1913689_640.png

  4. sendmail
  5. [
  6.  from :zoho.adminuserid
  7.  to :zoho.loginuserid
  8.  subject :"Welcome to Zylker Corporation"
  9.  message :"<div>Congratulations and welcome to Zylker Corporation! We are thrilled to have you as a valued member of our community.<br></div><div><br></div><div>Your registration is now complete, and you are all set to explore the exciting features our application has to offer<br><br></div> Regards,<br> Zylker Corporation <br> <img src='" + Image_URl + "'style='width: 100px; height: 75px;'/>"
  10. ]

Note: For a public image, you can directly insert the public URL of the image inside the html image tag, <img src='<Public_image_URL>'>. For example, <img src='https://cdn.pixabay.com/photo/2016/12/17/15/50/logo-1913689_1280.png' style='width: 100px; height: 75px;'"' style='width: 100px; height: 75px>;

Where:

<account_owner_name>

is the TEXT that represents the Creator account owner's username for the application.

<app_link_name>

is the TEXT that represents the link name of the Zoho Creator application.

<report_link_name>

is the TEXT that represents the link name of the report in which the image exists.

<recordID>

is the NUMBER that represents the ID of the record that contains the image.

<image_field>

is the TEXT that represents the field link name of the image field in which the image is uploaded.

<published_key>

is the unique key that is generated while publishing the report. It can be located within the URL of the published report. For example, in the following publish URL: https://creatorapp.zohopublic.com/zylker/customer-relationship-manager/page-perma/dashboard/HPtR6ZeWSEJW4TwCS2rJOCCg2k1QJZAmrngnbhVECqCWtER8FmDzEdspDwMySSsAMR9gd6PW79jNwa3gp4kjvfez9UJCp4SrmBfU

the encrypted key is as follows: HPtR6ZeWSEJW4TwCS2rJOCCg2k1QJZAmrngnbhVECqCWtER8FmDzEdspDwMySSsAMR9gd6PW79jNwa3gp4kjvfez9UJCp4SrmBfU


See How It Works


  1. Send mail


      Create. Review. Publish.

      Write, edit, collaborate on, and publish documents to different content management platforms.

      Get Started Now


        Access your files securely from anywhere

          Zoho CRM Training Programs

          Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

          Zoho CRM Training
            Redefine the way you work
            with Zoho Workplace

              Zoho DataPrep Personalized Demo

              If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

              Zoho CRM Training

                Create, share, and deliver

                beautiful slides from anywhere.

                Get Started Now


                  Zoho Sign now offers specialized one-on-one training for both administrators and developers.

                  BOOK A SESSION







                              Quick LinksWorkflow AutomationData Collection
                              Web FormsEnterpriseOnline Data Collection Tool
                              Embeddable FormsBankingBegin Data Collection
                              Interactive FormsWorkplaceData Collection App
                              CRM FormsCustomer ServiceAccessible Forms
                              Digital FormsMarketingForms for Small Business
                              HTML FormsEducationForms for Enterprise
                              Contact FormsE-commerceForms for any business
                              Lead Generation FormsHealthcareForms for Startups
                              Wordpress FormsCustomer onboardingForms for Small Business
                              No Code FormsConstructionRSVP tool for holidays
                              Free FormsTravelFeatures for Order Forms
                              Prefill FormsNon-Profit

                              Intake FormsLegal
                              Mobile App
                              Form DesignerHR
                              Mobile Forms
                              Card FormsFoodOffline Forms
                              Assign FormsPhotographyMobile Forms Features
                              Translate FormsReal EstateKiosk in Mobile Forms
                              Electronic Forms
                              Drag & drop form builder

                              Notification Emails for FormsAlternativesSecurity & Compliance
                              Holiday FormsGoogle Forms alternative GDPR
                              Form to PDFJotform alternativeHIPAA Forms
                              Email FormsFormstack alternativeEncrypted Forms

                              Wufoo alternativeSecure Forms

                              WCAG


                                          Create. Review. Publish.

                                          Write, edit, collaborate on, and publish documents to different content management platforms.

                                          Get Started Now




                                                            You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                                                Manage your brands on social media


                                                                  • Desk Community Learning Series


                                                                  • Digest


                                                                  • Functions


                                                                  • Meetups


                                                                  • Kbase


                                                                  • Resources


                                                                  • Glossary


                                                                  • Desk Marketplace


                                                                  • MVP Corner


                                                                  • Word of the Day


                                                                  • Ask the Experts


                                                                    Zoho Sheet Resources

                                                                     

                                                                        Zoho Forms Resources


                                                                          Secure your business
                                                                          communication with Zoho Mail


                                                                          Mail on the move with
                                                                          Zoho Mail mobile application

                                                                            Stay on top of your schedule
                                                                            at all times


                                                                            Carry your calendar with you
                                                                            Anytime, anywhere




                                                                                  Zoho Sign Resources

                                                                                    Sign, Paperless!

                                                                                    Sign and send business documents on the go!

                                                                                    Get Started Now




                                                                                            Zoho TeamInbox Resources





                                                                                                      Zoho DataPrep Demo

                                                                                                      Get a personalized demo or POC

                                                                                                      REGISTER NOW


                                                                                                        Design. Discuss. Deliver.

                                                                                                        Create visually engaging stories with Zoho Show.

                                                                                                        Get Started Now








                                                                                                                            • Related Articles

                                                                                                                            • Automatically create daily reports and send current day's reports as email attachment

                                                                                                                              Requirement Schedule custom actions to automatically create labour reports everyday at the specified time and send a filtered report of all the reports corresponding to the current day as an email attachment. Use case Let's assume your company has ...
                                                                                                                            • Image tag

                                                                                                                              <image> The <image> tag defines an image. Parent tag : <pc> Child tag : -- Attributes 1. Type The type attribute specifies the type of image to be added. Possible Values icon computer weburl Default Values weburl 2. value The value attribute ...
                                                                                                                            • Communicate stakeholders about an out-of-stock situation without manual intervention

                                                                                                                              Requirement   When an item runs out of stock, send an automated email to the vendor, and alert the customer that the item is not available. Send an alert to the customer when the item gets restocked. Use Case   In an order or inventory management ...
                                                                                                                            • Send Record Template as an Attachment in Mail

                                                                                                                              Requirement Send a record summary as a PDF attachment via mail using the Deluge's send mail task. Use Case Consider an organization using Zoho Creator to manage POS operations. Whenever an invoice is generated, the invoice record template is promptly ...
                                                                                                                            • Understanding the image field

                                                                                                                              When accessed via your iOS devices' browsers, you can upload images and attach image URLs but you cannot capture them via the image field. This is because media objects are not supported by iOS. When accessed via Safari browser, you can upload images ...
                                                                                                                              Wherever you are is as good as
                                                                                                                              your workplace

                                                                                                                                Resources

                                                                                                                                Videos

                                                                                                                                Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                                                eBooks

                                                                                                                                Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                                                Webinars

                                                                                                                                Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                                                CRM Tips

                                                                                                                                Make the most of Zoho CRM with these useful tips.



                                                                                                                                  Zoho Show Resources