The Forms application allows you to send two types of emails automatically when a new record is added:
- Notification email – emails notifying the person responsible for form data management (content editor, administrator, etc.) about the new submitted record.
- Autoresponder – email to the person who submitted the new record, typically confirming that the record has been received and will be processed.
When a user adds a record on the live site, the emails are sent out based on settings described in the respective sections. When you add a record via the administration interface, you can decide whether these emails will be sent, as described in Managing form data.
You can configure the notification emails on the Email notification tab of a form's editing interface:
- Open the Forms application
- Edit ( ) a form.
- Switch to the Email notification tab.
- Check the Send form data to email to enable this feature.
- Define the settings:
- Sender email – the email address from which the notifications are sent. A typical option is to use the address of the user who submitted the form. This can be done by entering a macro expression, which retrieves the value from the field in the form where users enter their email address.
- Recipient emails – email addresses where notification emails are sent. Typically the address of the person responsible for management of form records. You can specify multiple addresses separated by semicolons.
- Subject – subject of the notification emails.
- Attach uploaded documents – enable this option if you want to attach files submitted via the form (if there are any) to the notification emails.
- Use custom layout:
- If disabled, the body of the notification emails will contain all field names with the entered values, each on a single line.
- If enabled, you can define a custom layout for the notifications in the text area displayed below the check-box. Click the Generate table layout or adjust the layout by selecting a field from the Available fields list box and clicking the Insert label or Insert value buttons. You can also use macros in the values of these fields. See Using macros with forms for details.
- Click Save.