> ## Documentation Index
> Fetch the complete documentation index at: https://docs.formbase.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Email Setup (SMTP/Resend)

> Configure email delivery for self-hosted Formbase.

Formbase sends emails for account verification, password resets, and optional submission notifications. You must configure an email transport in self-hosted environments.

Choose one of the supported transports below.

**1. SMTP configuration**

```ini theme={null}
SMTP_TRANSPORT=smtp
SMTP_HOST=smtp.mailgun.org
SMTP_PORT=587
SMTP_USER=postmaster@example.com
SMTP_PASS=your-password
```

`SMTP_USER` and `SMTP_PASS` must either both be set or both be empty.

**2. Resend configuration**

```ini theme={null}
SMTP_TRANSPORT=resend
RESEND_API_KEY=re_xxx
```

Resend uses API key authentication and requires no SMTP host.

Use a dedicated sending domain for better deliverability and easier monitoring.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.