Form notification e-mails
The Forms application allows you to send two types of e-mails automatically when a new record is added:
- Notification e-mail - e-mails notifying the person responsible for form data management (content editor, administrator, …) about the new submitted record.
- Autoresponder - e-mail 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 e-mails 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 e-mails will be sent, as described in Managing form data.
Notification e-mails
You can configure the notification e-mails on the E-mail notification tab of a form’s editing interface:
- Open the Forms application
- Edit () a form.
- Switch to the E-mail notification tab.
- Check the Send form data to e-mail to enable this feature.
- Define the settings:
- From e-mail - the e-mail 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 e-mail address.
- To e-mail - e-mail address where notification e-mails 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 e-mails.
- Attach uploaded documents - enable this option if you want to attach files submitted via the form (if there are any) to the notification e-mails.
- Use custom layout:
- If disabled, the body of the notification e-mails 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.