You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: SELF-HOSTING.md
+31-6Lines changed: 31 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -440,7 +440,37 @@ docker compose up --build -d
440
440
441
441
By default, Reqcore logs email content to the console (useful for development). For production, configure a transactional email service.
442
442
443
-
### Using Resend (Recommended)
443
+
**Priority:** When `SMTP_HOST` is set, SMTP is used. Otherwise, if `RESEND_API_KEY` is set, Resend is used. If neither is configured, emails are logged to the console.
444
+
445
+
### Option A: SMTP (recommended for self-hosted setups)
446
+
447
+
SMTP works with any mail server — Postfix, Gmail, Exchange, Mailcow, Mailu, etc. No external service dependency.
448
+
449
+
1. Add to your `.env` file:
450
+
451
+
```bash
452
+
SMTP_HOST=smtp.example.com
453
+
SMTP_PORT=587
454
+
SMTP_USER=reqcore@example.com
455
+
SMTP_PASS=your-smtp-password
456
+
SMTP_FROM="Reqcore <noreply@example.com>"
457
+
SMTP_SECURE=false # true for implicit TLS (port 465), false for STARTTLS (port 587)
0 commit comments