From 6bfba3e898e04b7df832a06bc87a8ae19eec0058 Mon Sep 17 00:00:00 2001 From: Sander Van Dooren Date: Wed, 15 Jan 2020 22:53:05 +0100 Subject: [PATCH] ISAICP-5780: Update contact form email address to external forward functional mailbox. --- config/sync/contact_form.settings.yml | 2 +- .../contact_form/submit_contact_form.feature | 16 ++++++++-------- .../config/install/contact_form.settings.yml | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/config/sync/contact_form.settings.yml b/config/sync/contact_form.settings.yml index 4ef56f8102..ca0566e422 100644 --- a/config/sync/contact_form.settings.yml +++ b/config/sync/contact_form.settings.yml @@ -1,2 +1,2 @@ -default_recipient: DIGIT-JOINUP-SUPPORT@ec.europa.eu +default_recipient: DIGIT-JOINUP-SUPPORT-EXT-FORWARD@ec.europa.eu contact_form_from: digit-joinup@ec.europa.eu diff --git a/tests/features/contact_form/submit_contact_form.feature b/tests/features/contact_form/submit_contact_form.feature index 8410bfe7ed..d266b6e6c8 100644 --- a/tests/features/contact_form/submit_contact_form.feature +++ b/tests/features/contact_form/submit_contact_form.feature @@ -43,23 +43,23 @@ Feature: Submit the contact form # Both moderators should have received the notification e-mail. Then the following email should have been sent: - | template | Contact form submission | - | from | digit-joinup@ec.europa.eu | - | recipient_mail | DIGIT-JOINUP-SUPPORT@ec.europa.eu | - | subject | Joinup - Contact form submission | - | body | Dear sir, madam, ... | - | signature_required | no | + | template | Contact form submission | + | from | digit-joinup@ec.europa.eu | + | recipient_mail | DIGIT-JOINUP-SUPPORT-EXT-FORWARD@ec.europa.eu | + | subject | Joinup - Contact form submission | + | body | Dear sir, madam, ... | + | signature_required | no | And I should see the following success messages: | success messages | | Your message has been submitted. Thank you for your feedback. | - When I click the link for the "logo.png" attachment in the contact form email sent to "DIGIT-JOINUP-SUPPORT@ec.europa.eu" + When I click the link for the "logo.png" attachment in the contact form email sent to "DIGIT-JOINUP-SUPPORT-EXT-FORWARD@ec.europa.eu" # For anonymous users, the file should not be accessible. # The redirection to the login page returns a 200 code instead of a 403 so check for the error message instead. Then I should see the text "Access denied. You must sign in to view this page." When I am logged in as a moderator # Private files from contact forms are stored in # "//contact_form/_/" - And I click the link for the "logo.png" attachment in the contact form email sent to "DIGIT-JOINUP-SUPPORT@ec.europa.eu" + And I click the link for the "logo.png" attachment in the contact form email sent to "DIGIT-JOINUP-SUPPORT-EXT-FORWARD@ec.europa.eu" # The server responds with an image. Then the content type of the response should be 'image/png' diff --git a/web/modules/custom/contact_form/config/install/contact_form.settings.yml b/web/modules/custom/contact_form/config/install/contact_form.settings.yml index 834e0662b9..976161a385 100644 --- a/web/modules/custom/contact_form/config/install/contact_form.settings.yml +++ b/web/modules/custom/contact_form/config/install/contact_form.settings.yml @@ -1,2 +1,2 @@ -default_recipient: 'DIGIT-JOINUP-SUPPORT@ec.europa.eu' +default_recipient: 'DIGIT-JOINUP-SUPPORT-EXT-FORWARD@ec.europa.eu' contact_form_from: 'digit-joinup@ec.europa.eu'