This repository has been archived by the owner on Jul 27, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ISAICP-5780: Update contact form email address (#1953)
ISAICP-5780: Update contact form email address
- Loading branch information
Showing
3 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
default_recipient: [email protected] | ||
default_recipient: DIGIT-JOINUP-SUPPORT-EXT-FORWARD@ec.europa.eu | ||
contact_form_from: [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 "[email protected]" | ||
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 | ||
# "<base url>/<private system path>/contact_form/<year>_<month>/<file>" | ||
And I click the link for the "logo.png" attachment in the contact form email sent to "[email protected]" | ||
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' | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
web/modules/custom/contact_form/config/install/contact_form.settings.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
default_recipient: '[email protected]' | ||
default_recipient: 'DIGIT-JOINUP-SUPPORT-EXT-FORWARD@ec.europa.eu' | ||
contact_form_from: '[email protected]' |