Email check module
The email check is a paid module. It is included in the Agency and Studio licenses. Without the license the setting is ignored and every form works as before.
It flags addresses that:
- use a throwaway domain (about 121,000 are known),
- have a domain that cannot receive mail,
- are role addresses such as
info@,admin@ornoreply@(optional).
Turn it on
Section titled “Turn it on”Add this to protect in the form settings:
"emailCheck": { "provider": "local", "field": "email", "blockDisposable": true, "blockNoMx": true, "blockRole": false, "onFail": "reject"}| Setting | Meaning |
|---|---|
provider |
local uses the built-in list and a DNS lookup. usercheck asks UserCheck (needs USERCHECK_API_KEY) and falls back to local if UserCheck is unreachable. |
field |
Name of the email field. Default email. |
onFail |
reject tells the visitor to use another address (emailRejectedMessage). quarantine pretends success, stores the submission marked as spam and sends nothing. |
Only the domain part of the address leaves the Worker. Results are remembered for 7 days.
If you try to save a form with this setting on a license without the module, Submitry answers module_not_licensed.