Creator Help

Set Email Notifications

Overview

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.

Configure Email Notifications From GUI

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,

  1. Select More Actions -> Set Email Notification from the form header in Edit mode, as shown in the screen-shot below.
  2. 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 Variables

    zoho.adminuserid() - Returns the email-id of the application owner.

    zoho.loginuserid() - Returns the email-id of the currently logged-in user.

    Form Fields:

    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.

  3. Select the check-box Include User Submitted Datato send the form data in the email message.
  4. Make sure that the Email Notification Enabled radio-button is selected, (at the bottom of the pop up window). To stop email notifications, set the 'Email Notification' to 'disabled' state.
  5. Select Done to update the values and return back to the form.

Note:

  • The email notifications configured from the Form GUI will be displayed as a script in the Script tab. When you make any changes to this by invoking More Actions -> Set Email Notification option from the Form header, it will directly display the script.

Configuring Email Notifications from Deluge Script

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.

Note:

  • Zoho Creator supports sending email notifications only from zoho.loginuserid and zoho.adminuserid. In cases where From: address is not zoho.adminuserid or zoho.loginuserid, the To: address can only be zoho.adminuserid and the sendmail task cannot have any CC: or BCC: address.

Top