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 Clef Type Private Accès
Product Name product_name hidden Non All roles
sf retirement number sf_retirement_number hidden Non All roles
order number order_number hidden Non All roles
Invoice number invoice_number hidden Non All roles
Reference reference hidden Non All roles
Amount including tax amount_including_tax hidden Non All roles
Billing Date billing_date hidden Non All roles
Status status hidden Non All roles
Article article hidden Non All roles
Quantity quantity hidden Non All roles
Delivery method delivery_method hidden Non All roles
Download Invoice download_invoice hidden Non All roles
SF Account ID sf_account_id hidden Non All roles
SF Invoice ID sf_invoice_id hidden Non All roles
SF Order ID sf_order_id hidden Non All roles
user id user_id hidden Non All roles
amount_excluding_tax amount_excluding_tax hidden Non All roles
invoice_type invoice_type hidden Non All roles
paid paid hidden Non All roles
Description description hidden Non All roles
Due Date due_date hidden Non All roles
Currency ID currency_id hidden Non All roles
Entity ID entity_id hidden Non All roles
External Order Ref external_order_ref hidden Non All roles
Payment Terms payment_terms hidden Non All roles
Still to Pay still_to_pay hidden Non All roles
VAT vat hidden Non All roles
Country country hidden Non All roles
Country ID country_id hidden Non All roles
Address address hidden Non All roles
Address Line 1 address1 hidden Non All roles
Address Line 2 address2 hidden Non All roles
Area Code area_code hidden Non All roles
track track hidden Non All roles
BAT Url bat_url hidden Non All roles
Product ID product_id hidden Non 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 Élément Trigger/Value Actions
if of the following is met:
Enter a number range (1:100)
Paramètres avancés
Additional settings
Envoyer un courriel
Return path
The email address to which bounce messages are delivered. Leave blank to automatically use the 'From' address.
Adresse de courriel de l'expéditeur
The email address submitting the message, if other than shown by the From header Leave blank to automatically use the 'From' address.
Nom de l'expéditeur
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.