How to Send Different Email Confirmations in Drupal Webforms

By default, it's not possible to differentiate between messages from different Drupal webforms by simply looking at the confirmation message's subject line. You can use filters with the webform module to change this, giving you a custom email subject for different webforms. The subject will depend on the title of the webform. Before opening the email, you'll be able to tell which webform it came from and what type of request or comment it is (support, general comment, question, inquiry).

Instructions

    • 1

      Sign in to your Drupal admin dashboard. Click on "Modules," then scroll down to "Webform."

    • 2

      Click on "Configure" to open the webform configuration panel.

    • 3

      Click on "Email Values" and move to the "Subject" box.

    • 4

      Type the following string into the box:

      %title

      This bases the email confirmation message on the title of the webform, giving you a custom name for each one.

    • 5

      Customize the subject further, if desired, by adding other text. For example, you could use:

      Website form: %title

    • 6

      Click on "Save Configuration."

Tips & Warnings

  • The body of the confirmation email will be the fields and values entered into the webform.

Related Searches:

Resources

Comments

Related Ads

Featured