# Setting: `email_domain_blocking_enabled`

- **Constant:** `ConfigInterface::EMAIL_DOMAIN_BLOCKING_ENABLED`
- **Category:** `security`
- **Type:** `select`
- **Required:** yes
- **Sensitive:** no
- **Validation:** `required|string|max:255`
- **Placeholder / default hint:** `false`

## Description

When enabled, registration and email changes are rejected if the address domain matches a row in Admin → Blocked email domains (suffix match). Manage the list on that page.

## Allowed options

- `true`
- `false`

## Change via CLI

```bash
featherpanel saas getsetting email_domain_blocking_enabled
featherpanel saas setsetting email_domain_blocking_enabled "<value>"
```

## Change via API

```http
PATCH /api/admin/settings
Content-Type: application/json

{ "email_domain_blocking_enabled": "<value>" }
```
