# Setting: `smtp_host`

- **Constant:** `ConfigInterface::SMTP_HOST`
- **Category:** `email`
- **Type:** `text`
- **Required:** yes
- **Sensitive:** no
- **Validation:** `required|string|max:255`
- **Placeholder / default hint:** `localhost`

## Description

The SMTP host of the application

## Allowed options

_Free-form / no fixed options_

## Change via CLI

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

## Change via API

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

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