Refactor email transporter configuration in AuthService; update to support STARTTLS and TLS requirements based on environment variables, and adjust EMAIL_SECURE setting in production template for improved email security.

This commit is contained in:
Torsten Schulz (local)
2025-10-19 13:28:03 +02:00
parent da2d913219
commit e55f20367d
2 changed files with 25 additions and 5 deletions

View File

@@ -42,7 +42,8 @@ FRONTEND_URL=https://stechuhr3.tsschulz.de
# SMTP-Server Konfiguration
EMAIL_HOST=smtp.1blu.de
EMAIL_PORT=587
EMAIL_SECURE=true
EMAIL_SECURE=false
EMAIL_REQUIRE_TLS=true
EMAIL_USER=e226079_0-kontakt
EMAIL_PASSWORD=aNN31bll3Na!
EMAIL_FROM=kontakt@tsschulz.de