Skip to content

Clarify email domain submission filter formats and auto-enable behavior#729

Closed
promptless-for-oss wants to merge 1 commit into
mautic:7.2from
Promptless:promptless/email-domain-submission-filter-fix
Closed

Clarify email domain submission filter formats and auto-enable behavior#729
promptless-for-oss wants to merge 1 commit into
mautic:7.2from
Promptless:promptless/email-domain-submission-filter-fix

Conversation

@promptless-for-oss
Copy link
Copy Markdown

Open this suggestion in Promptless to view citations and reasoning process

Updates documentation to clarify that plain domain names (like blocked.com) work without wildcards for the domain submission filter, and documents the new auto-enable behavior where Email fields automatically turn on the domain filter when blocked domains are configured in Form Settings.

Trigger Events


Tip: Use Vale? Add your vale.ini when setting up your Docs Collection.

Update documentation to explain that plain domain names (like blocked.com)
can be used without wildcards, and document the new auto-enable behavior
where Email fields automatically turn on the domain filter when blocked
domains are configured in Form Settings.
Comment thread docs/components/forms.rst
:alt: Screenshot showing global domain blocking

Specify domains, one per line, using either full Email addresses or entire domains using an asterisk before the domain name, which acts as a wildcard. Ensure you save your changes.
Specify domains, one per line. You can enter:
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Added plain domain format (blocked.com) as a documented option based on the bug fix in FormValidationSubscriber.php that extracts the domain from the email address and matches it against plain domain filters without requiring @ prefix or wildcards.

Source: mautic/mautic#16171

Comment thread docs/components/forms.rst

Applying domain name filtering to a Form
========================================

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Documented the auto-enable behavior from the fix in FormFieldEmailType.php that changes the default value of the donotsubmit toggle to true when do_not_submit_emails config is non-empty.

Source: mautic/mautic#16171

@adiati98
Copy link
Copy Markdown
Contributor

Closing this PR as the PR on the Mautic repo is also closed.

@adiati98 adiati98 closed this May 31, 2026
@promptless-for-oss promptless-for-oss deleted the promptless/email-domain-submission-filter-fix branch May 31, 2026 11:20
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.

2 participants