# Setting: `smtp_port`

- **Constant:** `ConfigInterface::SMTP_PORT`
- **Category:** `email`
- **Type:** `number`
- **Required:** yes
- **Sensitive:** no
- **Validation:** `required|integer|min:1|max:65535`
- **Placeholder / default hint:** `587`

## Description

The SMTP port of the application

## Allowed options

_Free-form / no fixed options_

## Change via CLI

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

## Change via API

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

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