Problem/Motivation

The mail.default_subject defaults to Webform submission from: [webform_submission:source-entity] and the webform_submission:source-entity] is blank when a form is submitted without a source entity.

Steps to reproduce (see attached webform)

  • Create a new webform with a text field.
  • Add an email handler with debugging enabled.
  • Test the form
  • Confirm email subject is "Webform submission from:"


Proposed resolution

Add and use new [webform_submission:source-title] token in the default email subject.

Remaining tasks

  • Add token
  • Test changes
  • Provide update hook

User interface changes

N/A

API changes

N/A

Data model changes

N/A

Release notes snippet

N/A

Comments

jrockowitz created an issue. See original summary.

jrockowitz’s picture

Status: Active » Needs review
StatusFileSize
new2.58 KB
jrockowitz’s picture

Issue summary: View changes
jrockowitz’s picture

StatusFileSize
new5.68 KB
jrockowitz’s picture

Status: Needs review » Fixed

  • jrockowitz authored 840bbba on 8.x-5.x
    Issue #3087865 by jrockowitz: Webform email handler default subject is...
jrockowitz’s picture

Status: Fixed » Closed (fixed)