Corregir configuración SMTP (se hace con variables de entorno)
@@ -175,10 +175,12 @@ Añade CSS personalizado:
|
|||||||
|
|
||||||
## Configurar SMTP (Email)
|
## Configurar SMTP (Email)
|
||||||
|
|
||||||
**Settings → Settings → Email**:
|
Para enviar emails (invitaciones, notificaciones), configura SMTP mediante variables de entorno.
|
||||||
|
|
||||||
|
**Añade al .env**:
|
||||||
|
|
||||||
```env
|
```env
|
||||||
# Añadir al .env del contenedor
|
# SMTP Configuration
|
||||||
MAIL_DRIVER=smtp
|
MAIL_DRIVER=smtp
|
||||||
MAIL_HOST=smtp.gmail.com
|
MAIL_HOST=smtp.gmail.com
|
||||||
MAIL_PORT=587
|
MAIL_PORT=587
|
||||||
@@ -189,12 +191,12 @@ MAIL_PASSWORD=tu_password_app
|
|||||||
MAIL_ENCRYPTION=tls
|
MAIL_ENCRYPTION=tls
|
||||||
```
|
```
|
||||||
|
|
||||||
Reinicia el contenedor:
|
**Reinicia el contenedor**:
|
||||||
```bash
|
```bash
|
||||||
docker restart bookstack
|
docker restart bookstack
|
||||||
```
|
```
|
||||||
|
|
||||||
Prueba el email:
|
**Prueba el email**:
|
||||||
**Settings → Maintenance → Send a Test Email**
|
**Settings → Maintenance → Send a Test Email**
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
Reference in New Issue
Block a user