Configure SMTP via separate environment variables
Add SMTP_HOST, SMTP_PORT, SMTP_USER, SMTP_PASSWORD and SMTP_TLS instead of requiring a transport URL, so passwords need no URL escaping. Port 465 uses implicit SSL. EMAIL_TRANSPORT_DEFAULT_URL keeps working as a fallback. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
31df730374
commit
df4445c1a4
5 files changed
+36
-20
No files matched your search
+6
-1
@@ -17,7 +17,12 @@ APP_DEFAULT_LOCALE=de_DE
|
||||
|
||||
# --- Mail -------------------------------------------------------------------
|
||||
# Empty = .eml files in tmp/mails/ (development only!)
|
||||
# EMAIL_TRANSPORT_DEFAULT_URL=smtp://user:password@mail.example.org:587?tls=true
|
||||
# SMTP_HOST=mail.example.org
|
||||
# SMTP_PORT=587
|
||||
# SMTP_USER=noreply@example.org
|
||||
# SMTP_PASSWORD=secret
|
||||
# true = STARTTLS (port 587); port 465 uses implicit SSL automatically; false = unencrypted
|
||||
# SMTP_TLS=true
|
||||
MAIL_FROM=noreply@plenario.example.org
|
||||
MAIL_FROM_NAME=PlenarIO
|
||||
|
||||
|
||||
Reference in new issue
Block a user