# Setting: `mail_provider_preset`

- **Constant:** `ConfigInterface::MAIL_PROVIDER_PRESET`
- **Category:** `email`
- **Type:** `select`
- **Required:** yes
- **Sensitive:** no
- **Validation:** `required|string|max:64`
- **Placeholder / default hint:** `custom`

## Description

UI provider preset (autofills transport and SMTP defaults; not used by the mail runner)

## Allowed options

- `custom`
- `resend`
- `resend_smtp`
- `brevo`
- `brevo_smtp`
- `sendgrid`
- `sendgrid_smtp`
- `mailgun`
- `mailgun_smtp`
- `postmark`
- `postmark_smtp`
- `mailersend`
- `mailersend_smtp`
- `sparkpost`
- `sparkpost_smtp`
- `ses`
- `ses_smtp`
- `gmail`
- `outlook`
- `mailtrap`
- `smtp2go`

## Change via CLI

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

## Change via API

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

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