From d2220e076c12d2784e000543b49d4be0cd7effe2 Mon Sep 17 00:00:00 2001 From: Clayton Dewey Date: Thu, 3 Jan 2019 16:10:46 -0700 Subject: [PATCH] Make it more obvious when we get a submission from the contact form --- config/sync/webform.webform.contact.yml | 40 ++----------------------- 1 file changed, 3 insertions(+), 37 deletions(-) diff --git a/config/sync/webform.webform.contact.yml b/config/sync/webform.webform.contact.yml index 6cf254f..146abc3 100644 --- a/config/sync/webform.webform.contact.yml +++ b/config/sync/webform.webform.contact.yml @@ -99,7 +99,7 @@ settings: draft_loaded_message: '' confirmation_type: url_message confirmation_title: '' - confirmation_message: 'Your message has been sent.' + confirmation_message: 'Thanks for reaching out! We'll get back to you as soon as one of us (probably Clayton) checks our email.' confirmation_url: '' confirmation_attributes: { } confirmation_back: true @@ -172,40 +172,6 @@ access: users: { } permissions: { } handlers: - email_confirmation: - id: email - label: 'Email confirmation' - handler_id: email_confirmation - status: true - conditions: { } - weight: 1 - settings: - states: - - completed - to_mail: '[webform_submission:values:email:raw]' - to_options: { } - cc_mail: '' - cc_options: { } - bcc_mail: '' - bcc_options: { } - from_mail: _default - from_options: { } - from_name: _default - subject: '[webform_submission:values:subject:raw]' - body: '[webform_submission:values:message:value]' - excluded_elements: { } - ignore_access: false - exclude_empty: true - exclude_empty_checkbox: false - html: true - attachments: false - twig: false - theme_name: '' - debug: false - reply_to: '' - return_path: '' - sender_mail: '' - sender_name: '' email_notification: id: email label: 'Email notification' @@ -226,14 +192,14 @@ handlers: from_options: { } from_name: '[webform_submission:values:name:raw]' subject: '[webform_submission:values:subject:raw]' - body: '[webform_submission:values:message:value]' + body: "Hi Agarics, \r\n\r\nYou got some fan mail.\r\n\r\nSincerely,\r\nAgaric Bot\r\n\r\n

Submitted on {{ webform_token('[webform_submission:created]', webform_submission) }}

\r\n

Submitted by: {{ webform_token('[webform_submission:user]', webform_submission) }}

\r\n

Submitted values are:

\r\n{{ webform_token('[webform_submission:values]', webform_submission) }}\r\n" excluded_elements: { } ignore_access: false exclude_empty: true exclude_empty_checkbox: false html: true attachments: false - twig: false + twig: true theme_name: '' debug: false reply_to: ''