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.
Navigate to the webform you would like to edit.
- Go to the Express toolbar and select Content.
- Click the Webform tab.
- Click Edit next to the webform you'd like to edit.
- Click the Edit Webform tab.
- Click the E-mails tab.
- In the E-mail To column, select Address.
- Enter the email address you want to send the webform results to.
- Click Add.
E-mail Header Details
Customize the email subject, from address and from name as needed.
- 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.
- 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.
- 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.
This is a customizable template. By default the values of all of the form fields will be in the email the recipient is sent.
- Expand the Included E-mail Values section.
- 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.
- Check the Exclude empty components option if you would like.
- Click Save email settings.
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]".