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
Product Name product_name hidden No All roles
sf retirement number sf_retirement_number hidden No All roles
order number order_number hidden No All roles
Invoice number invoice_number hidden No All roles
Reference reference hidden No All roles
Amount including tax amount_including_tax hidden No All roles
Billing Date billing_date hidden No All roles
Status status hidden No All roles
Article article hidden No All roles
Quantity quantity hidden No All roles
Delivery method delivery_method hidden No All roles
Download Invoice download_invoice hidden No All roles
SF Account ID sf_account_id hidden No All roles
SF Invoice ID sf_invoice_id hidden No All roles
SF Order ID sf_order_id hidden No All roles
user id user_id hidden No All roles
amount_excluding_tax amount_excluding_tax hidden No All roles
invoice_type invoice_type hidden No All roles
paid paid hidden No All roles
Description description hidden No All roles
Due Date due_date hidden No All roles
Currency ID currency_id hidden No All roles
Entity ID entity_id hidden No All roles
External Order Ref external_order_ref hidden No All roles
Payment Terms payment_terms hidden No All roles
Still to Pay still_to_pay hidden No All roles
VAT vat hidden No All roles
Country country hidden No All roles
Country ID country_id hidden No All roles
Address address hidden No All roles
Address Line 1 address1 hidden No All roles
Address Line 2 address2 hidden No All roles
Area Code area_code hidden No All roles
track track hidden No All roles
BAT Url bat_url hidden No All roles
Product ID product_id 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.