Prevent testing purposed email addresses from subscribing

Created on 30 May 2022, almost 3 years ago
Updated 17 January 2025, 4 months ago

It is possible to use email addresses ending in certain TLDs meant for testing. For example: user@mydomain.invalid, user@mydomain.example, etc.

I am not sure how MailChimp handles those email address. If is is already handled then please guide to relevant documentations. If not handled already, then please bring code change to prevent those email addresses being sent to MailChimp.

Feature request
Status

Active

Version

2.0

Component

Lists Module

Created by

🇮🇳India junaidpv Kannur, Kerala

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇮🇳India junaidpv Kannur, Kerala

    Re-rolled for v2.2.5

  • 🇺🇸United States xenophyle

    The code added in the patch comes after a call to mailchimp_lists_load_email(), which is already trying to validate the email address. Would it make more sense to put your improved validation in mailchimp_lists_load_email() instead of mailchimp_lists_process_subscribe_form_choices()?

Production build 0.71.5 2024