Form Emails

You may configure a webform to email a copy of all form submissions. The most common use of this feature is to email form submissions to the person who will need this data. Anyone can receive the form submission data without needing to log into the site daily to check the form for new submissions.

You may also configure the webform to send an email to the visitor who submitted the form so they have an email record of their submission.

Note: you must enable the Forms bundle to use this feature.

1

Configure E-mails

Navigate to the webform you would like to edit.

  1. Go to the Express toolbar and select Content.
  2. Click the Webform tab.
  3. Click Edit next to the webform you'd like to edit.
  4. Click the Edit Webform tab.
  5. Click the E-mails tab.
  6. In the E-mail To column, select Address.
  7. Enter the email address you want to send the webform results to.
  8. Click Add.

Configure emails

2

E-mail Header Details

Customize the email subject, from address and from name as needed.

  1. E-mail subject: choose one of the options below.
    • Default: Form submission from: "name of webform"
    • Custom: enter a custom subject line.
    • Component: use the drop-down to select textfield, select, or hidden form element as the subject for emails.
  2. E-mail from address: choose one of the options below.
    • Default: the Web Express drupal default site email address.
    • Custom: includes the email address you enter and the default site email address (the default address is required by law). This option allows a reply email for the recipient.
    • Component: use the drop-down to select email, select, or hidden form element as the sender's email address.
  3. E-mail from name: choose one of the options below.
    • Default: the site name.
    • Custom: enter a custom name.
    • Component: use the drop-down to select textfield, select, or hidden form element as the sender's name for emails.

E-mail header details

3

E-Mail Template

This is a customizable template. By default the values of all of the form fields will be in the email the recipient is sent.

  1. Expand the Included E-mail Values section.
  2. The selected components will be included in the [submission:values] token. Check the boxes next to the components you wish to include in the email.
  3. Check the Exclude empty components option if you would like.
  4. Click Save email settings.

E-mail template

Customized email template

Customized email template example

Tips: Consider deleting the "Submitted by user: [submission:user]" line to simplify the email template. This line displays the user as "Anonymous (not verified)" since all your site visitors are anonymous users so the data is not usually relevant. You may also want to change out the line "The results of this submission may be viewed at: [submission:url]" for "The submitting webform may be viewed at: [node:url]".