Home > Advanced Functions > Page Objects > Dataset > Email Triggers

Email Triggers

Email triggers can be added to a dataset page to send an email when a record is added, edited or deleted. Follow the steps below to add an email trigger.

1. Select the page containing the dataset.

2. Click 'Edit Page'


3. Click to position the cursor at the bottom of the page.

4. Select 'OnAdd Email', 'OnEdit Email' or 'OnDelete Email' and then click the 'Insert' button.


5. The email trigger will be added to the page.


6. Populate the email trigger with the following information:

Field

Description

Prompt

This heading will be displayed when the email prompt appears. If this field is blank, the email will be automatically sent without prompting.

From

Email address of the sender. This can be any valid email address. If the recipient replies to the email, this is the address that the reply will be sent to.
To Email address of the recipient.

Subject

Subject of the email.
Body Body of the email.
Detail field values can be used in any of the email fields above. The format is [field:{fieldname}]. For example, if there as a 'status' field, you could display the value in the email body with the following text "The status is [field:status]"



Email Form
When a new record is added, the following email form will appear. If the 'Prompt' field was left blank, the email will be sent transparently.

See also

Adding a Dataset
Adding a Detail Field
Adding a Find Field
Dataset Find Properties
Dataset Detail Properties
Dataset Field Properties
Dataset File Attachments