# Make form email domain blocking dynamic (include use ofstopforumspam.com?)

**URL:** <https://community.hubspot.com/t/make-form-email-domain-blocking-dynamic-include-use-ofstopforumspam-com/85164>\
**Category:** HubSpot Ideas\
**Tags:** forms, object, marketing-email\
**Created:** [July 12, 2023, 11:37am UTC](https://community.hubspot.com/t/make-form-email-domain-blocking-dynamic-include-use-ofstopforumspam-com/85164 "2023-07-12T11:37:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![CBN](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/cbn/32/95196_2.png) [@CBN](https://community.hubspot.com/u/CBN)\
**Post date:** [July 12, 2023, 11:37am UTC](https://community.hubspot.com/t/make-form-email-domain-blocking-dynamic-include-use-ofstopforumspam-com/85164/1 "2023-07-12T11:37:27Z")

</div>

We often receive emails that are related to either temporary mail domains or known spammer domains.

The form checks for email domains in HubSpot is one of three options:

1. reCAPTCHA

2. Deny all domains on the block list

3. Export and import an edited version of the block list to a form field

#2 is not applicable in many cases as the list also included [gmail.com](http://gmail.com), [hotmail.com](http://hotmail.com), [outlook.com](http://outlook.com) and similar valid non-spam and non-temporary email domains.

#3 is fine, but has a major drawback that it is static. So as soon as I have exported, edited and imported the domains, there are no longer any dymanic update based on HubSpot’s list maintenance.

**Requirement**

- make emails domains dynamic so HubSpot list of domains is the basis for a dynamic check

- we can configure which of the available domains that we want to allow pass the check

- the defined block domain list is applied to all forms where an email is entered

- the defined block domain list is checked when a contact’s email is added or updated, the user cannot store an email which is on a blocked domain

- Optionally an API call to the API at [https://www.stopforumspam.com/](https://www.stopforumspam.com/) can validate emails and email domains.

For a reference implementation you can see how we have done this on our [video training platform uQualio](https://uqualio.com).

---

<div class="post-metadata">

**Author:** ![sbradthompson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/sbradthompson/32/78471_2.png) [@sbradthompson](https://community.hubspot.com/u/sbradthompson)\
**Post date:** [December 17, 2024, 10:27pm UTC](https://community.hubspot.com/t/make-form-email-domain-blocking-dynamic-include-use-ofstopforumspam-com/85164/2 "2024-12-17T22:27:25Z")

</div>

Please!!! It’s crazy to block insane domains like ([0-mail.com](http://0-mail.com), [027168.com](http://027168.com), 0815.su, [0sg.net](http://0sg.net), [10mail.org](http://10mail.org), 10minutemail.co.za, [11mail.com](http://11mail.com)) you have to block gmail! Maybe it’s not customizing the entire list, but have a reputable tier at least vs all of them!
