Zoho Creator lets you configure email notifications to be sent when new form data is submitted or when existing form data is modified or deleted or by invoking custom action from views. The email notification can be configured from the GUI or using Deluge Scripting.
Zoho Creator Form Builder provides option to configure email notifications to be sent when new form data is submitted by the user. The email notifications can be configured to be sent with or without form data. To set email notifications from the GUI,
The Set Email Notification dialog is displayed, wherein you specify the From address and To address of the mail recipient. The CC address, Subject and Message fields are optional. You can also assign e-mail ids and form field values dynamically to the From/To and Message fields. To do this, select the icon displayed on the right-side of the "From", "To" and "Message" text box. This will display the zoho variables and the form fields, as shown in the screen-shot given below:
zoho.adminuserid() - Returns the email-id of the application owner.
zoho.loginuserid() - Returns the email-id of the currently logged-in user.
Email Id fields and text fields that contain e-mail id's are listed here. Select the field whose value has to be dynamically assigned to the To/cc address.
The sendmail task in Deluge Script can be used to send emails from your Zoho Creator application. The sendmail task can be invoked on form actions or field actions or by invoking custom actions in views. For example, you can write script to send mail when an existing record is updated in the database or when a field value is modified. Refer Send Mail task in Deluge Scripting, for more information.