Sends a webform submission via an email.

General settings
 
A unique name for this handler instance. Must be alpha-numeric and underscore separated.
Entered text will be displayed on the handlers administrative page and replace this handler's default description.
Send to
To email
CC email
BCC email
Send from (website/domain)
From email
From name
Reply to (individual/organization)
Reply-to email
The email address that a recipient will see when they replying to an email. Leave blank to automatically use the 'From' address.
Message
Objet

Learn about Twig and how it is used in Drupal.

The following variables are available:

  • {{ data.element_key }}
  • {{ data['element_key'] }}
  • {{ data.element_key.delta }}
  • {{ data['element_key']['delta'] }}
  • {{ data.composite_element_key.subelement_key }}
  • {{ data.composite_element_key.delta.subelement_key }}
  • {{ original_data }}
  • {{ elements }}
  • {{ elements_flattened }}
  • {{ serial }}
  • {{ sid }}
  • {{ uuid }}
  • {{ token }}
  • {{ uri }}
  • {{ created }}
  • {{ completed }}
  • {{ changed }}
  • {{ in_draft }}
  • {{ current_page }}
  • {{ remote_addr }}
  • {{ uid }}
  • {{ langcode }}
  • {{ webform_id }}
  • {{ entity_type }}
  • {{ entity_id }}
  • {{ locked }}
  • {{ sticky }}
  • {{ notes }}
  • {{ metatag }}
  • {{ webform }}
  • {{ webform_submission }}

You can also output tokens using the webform_token() function.

{{ webform_token('[webform_submission:values:element_value]', webform_submission, [], options) }}

You can debug data using the webform_debug() function.

{{ webform_debug(data) }}
The selected elements will be included in the [webform_submission:values] token. Individual values may still be printed if explicitly specified as a [webform_submission:values:?] in the email body template.
Titre Key Type Private Access
User id user_id hidden No All roles
NPS Type nps_type textfield No All roles
Email ID email_id textfield No All roles
NPS Ratings nps_ratings webform_scale No All roles
Comments comments textarea No All roles
Order ID order_id textfield No All roles
Quote ID quote_id textfield No All roles
Ticket ID ticket_id textfield No All roles
questionnaire id questionnaire_id textfield No All roles
project status project_status select No All roles
abandoned reason abandoned_reason textfield No All roles
abandoned command abandoned_command textfield No All roles
Identifier identifier hidden No All roles
If checked, access controls for included element will be ignored.
If checked, empty elements will be excluded from the email values.
If checked, empty checkboxes will be excluded from the email values.
Conditional logic
État Element Trigger/Value Actions
if of the following is met:
Enter a number range (1:100)
Advanced settings
Additional settings
Send email
Return path
The email address to which bounce messages are delivered. Leave blank to automatically use the 'From' address.
Sender email
The email address submitting the message, if other than shown by the From header Leave blank to automatically use the 'From' address.
Sender name
Select the theme that will be used to render this email.
Select the language that will be used to render this email.
Enter additional custom parameters to be appended to the email message's parameters. Custom parameters are used by email related add-on modules.
If checked, sent emails will be displayed onscreen to all users.