Skip to content

Conversation

@nicksantamaria
Copy link
Contributor

@nicksantamaria nicksantamaria commented May 9, 2025

Jira

N/A

Problem/Motivation

Currently most (if not all) tide projects are reporting issues with the tide_event webform not sending emails properly.

This is because the webform is configured out-of-the-box with a FROM address for some type of CRM solution that was from the original implementation in 2019.

Fix

There is no way to know specifically where each SDP tenant would want this to go, so the fix is just to remove the webform email handler all together if the incorrect default value is still in place.

Related PRs

dpc-sdp/bay_platform_dependencies#29

@nicksantamaria nicksantamaria marked this pull request as ready for review May 9, 2025 05:33

// Check if this is an email handler with the specific to_mail address.
if (isset($configuration['settings']['to_mail']) &&
$configuration['settings']['to_mail'] === '[email protected]') {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the key logic - if the webform is still configured to send an email to this address it should be removed.

Copy link
Contributor

@vincent-gao vincent-gao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @nicksantamaria . looks good to me

@vincent-gao vincent-gao merged commit 6ae6689 into develop May 16, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants