Send Mail Statements

Send Mail Statements

Overview

The Sendmail task can be used to send emails from your Zoho Platform. For example, you can invoke the sendmail function from deluge script. To avoid spam email messages, if the From: address is not a zoho.adminuserid or zoho.loginuserid, the To: address can only be zoho.adminuserid and the sendmail task cannot have any CC: or BCC: address.

You can also directly specify the address in the To: field within quotes, for example "test@zoho.com", if the to address remains the same for all the records. To send mail to the email ids specified in each record, use the input.<map>.get(<field_name_of_type_email>), which will replace the value of the email id in each record. The subject and message fields can be customized to suit the user requirements. Again, the input.<map>.get(<field_name>) can be used to substitute the value of the record.

Syntax

  1. sendmail
  2. [
  3. From : <string expression>
  4. To : <string expression> 
  5. Subject : <string expression> 
  6. Message : <string expression> 
  7. ]
where,
  1. To- the mail recipient
  2. From- the sender
  3. Subject - the text you want to display in the message subject
  4. Message- the text you want to display in the message body
  5. <string expression> - deluge expression evaluating to valid email address in case of From and To and any valid string in case of subject and message. subject and message are optional parameters. To know in detail about the expressions in Deluge, refer to Expressions .

Note:
  1. The email sent will have the email id of the application owner or the email id of the login user, as the From address. If the From: address is not a zoho.adminuserid or zoho.loginuserid, the To: address can only be zoho.adminuserid and the sendmail task cannot have any CC: or BCC: address.
  2. If your Form is accessed by users without logging in to Zoho Creator, the variable zoho.loginuserid will be set as “Public”. As “Public” is not an email address, the send mail action fails to execute. 

    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








                                    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

                                          Zoho Desk Resources

                                          • Desk Community Learning Series


                                          • Digest


                                          • Functions


                                          • Meetups


                                          • Kbase


                                          • Resources


                                          • Glossary


                                          • Desk Marketplace


                                          • MVP Corner


                                          • Word of the Day


                                            Zoho Marketing Automation

                                              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 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

                                                                                                      • Control Statements

                                                                                                        Overview A program consists of a number of statements which are usually executed in sequence. Programs can be much more powerful if we can control the order in which statements are run. To achieve this, deluge script offers developers the if,else ...
                                                                                                      • Conditional Statements

                                                                                                        This guide will help you with the following: 1. Overview 2. Syntax 3. Examples Overview Conditional statements examine specified criteria, and act in one way if the criteria are met, or in another way if the criteria are not met. The criteria is ...
                                                                                                      • Debug Statements

                                                                                                        Description The info keyword is used in Validate, Success or Update actions to display debug messages to assist an app owner in debugging the application. The info message can be viewed only by the owner of the application by clicking on the ...
                                                                                                      • Criteria in conditional statements

                                                                                                        This guide will help you with the following: Overview Syntax Example Applicable operators and expressions for TEXT expressions Applicable operators and expressions for NUMBER and Decimal expressions Applicable operators and expressions for DATE-TIME ...
                                                                                                      • Configuring Email Accounts

                                                                                                        Vertical Solutions allows the subscribers to configure email accounts such as Zoho Mail, Gmail, Yahoo, Outlook and others, in their Solutions account, and be able to send, receive emails and do much more right from their solution account. Configuring ...
                                                                                                        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