1.5 KiB
1.5 KiB
Configuration mail
Le portail supporte maintenant un preset simple par fournisseur avec SMTP_PROVIDER.
1. OVH
SMTP_PROVIDER=ovh
SMTP_FROM=notifications@votre-domaine.fr
SMTP_USER=notifications@votre-domaine.fr
SMTP_PASS=votre-mot-de-passe-ou-mot-de-passe-app
Valeurs automatiques appliquées :
SMTP_HOST=smtp.mail.ovh.netSMTP_PORT=465SMTP_SECURE=true
2. Gmail
SMTP_PROVIDER=gmail
SMTP_FROM=votre-adresse@gmail.com
SMTP_USER=votre-adresse@gmail.com
SMTP_PASS=votre-mot-de-passe-app
Valeurs automatiques appliquées :
SMTP_HOST=smtp.gmail.comSMTP_PORT=465SMTP_SECURE=true
Important : pour Gmail, utilise un mot de passe d'application.
3. Outlook / Microsoft 365
SMTP_PROVIDER=outlook
SMTP_FROM=notifications@votre-domaine.fr
SMTP_USER=notifications@votre-domaine.fr
SMTP_PASS=votre-mot-de-passe-ou-mot-de-passe-app
Valeurs automatiques appliquées :
SMTP_HOST=smtp.office365.comSMTP_PORT=587SMTP_REQUIRE_TLS=true
4. SMTP personnalisé
SMTP_PROVIDER=custom
SMTP_HOST=mail.votre-serveur.fr
SMTP_PORT=587
SMTP_FROM=notifications@votre-domaine.fr
SMTP_USER=notifications@votre-domaine.fr
SMTP_PASS=votre-mot-de-passe
SMTP_SECURE=false
SMTP_REQUIRE_TLS=true
Notes utiles
- Un seul fournisseur est actif par environnement à la fois.
SMTP_FROMreste obligatoire.- Si
SMTP_USERest renseigné,SMTP_PASSdoit l'être aussi. - Le portail n'enverra pas d'email tant que la configuration restera incomplète.