### fix: 37 aktualisiere SMTP-Konfiguration und Versionsmarker
All checks were successful
Build and Publish Docker Images / build-and-push (., backend/services/mail/Dockerfile, mail-service, mail-service) (push) Successful in 5m48s
Build and Publish Docker Images / build-and-push (., config/docker/caddy/web-app/Dockerfile, web-app, web-app) (push) Successful in 3m56s

- **application.yaml:** SMTP-Parameter (Host, Port, Benutzer, Passwort, Auth/StartTLS) hart kodiert.
- **MailServiceApplication:** Logging-Text für SMTP-Konfiguration angepasst.
- **WebMainScreen:** Versionsmarker auf `v2026-04-23.37 - SMTP HARD-CODED` aktualisiert.
This commit is contained in:
Stefan Mogeritsch 2026-04-23 18:40:26 +02:00
parent 9ab914dbfb
commit 897394e27e
3 changed files with 8 additions and 8 deletions

View File

@ -40,7 +40,7 @@ class MailServiceApplication(private val env: Environment) {
log.info("----------------------------------------------------------") log.info("----------------------------------------------------------")
log.info("Application '{}' is running!", appName) log.info("Application '{}' is running!", appName)
log.info("Spring Management Port: {}", springPort) log.info("Spring Management Port: {}", springPort)
log.info("SMTP Config: host={}, port={}, user={}", mailHost, mailPort, mailUser) log.info("SMTP Config (from Env): host={}, port={}, user={}", mailHost, mailPort, mailUser)
log.info("Profiles: {}", env.activeProfiles.joinToString(", ")) log.info("Profiles: {}", env.activeProfiles.joinToString(", "))
log.info("----------------------------------------------------------") log.info("----------------------------------------------------------")
} }

View File

@ -11,16 +11,16 @@ spring:
ddl-auto: update ddl-auto: update
show-sql: true show-sql: true
mail: mail:
host: ${SPRING_MAIL_HOST:smtp.world4you.com} host: smtp.world4you.com
port: ${SPRING_MAIL_PORT:587} port: 587
username: ${SPRING_MAIL_USERNAME:online-nennen@mo-code.at} username: online-nennen@mo-code.at
password: ${SPRING_MAIL_PASSWORD:Mogi#2reiten} password: Mogi#2reiten
properties: properties:
mail: mail:
smtp: smtp:
auth: ${SPRING_MAIL_PROPERTIES_MAIL_SMTP_AUTH:true} auth: true
starttls: starttls:
enable: ${SPRING_MAIL_PROPERTIES_MAIL_SMTP_STARTTLS_ENABLE:true} enable: true
cloud: cloud:
consul: consul:

View File

@ -130,7 +130,7 @@ fun MainAppContent() {
// Dezentraler Versions-Marker in der unteren rechten Ecke // Dezentraler Versions-Marker in der unteren rechten Ecke
Box(modifier = Modifier.fillMaxSize().padding(8.dp), contentAlignment = Alignment.BottomEnd) { Box(modifier = Modifier.fillMaxSize().padding(8.dp), contentAlignment = Alignment.BottomEnd) {
Text( Text(
text = "v2026-04-23.36 - SMTP DIAGNOSE", text = "v2026-04-23.37 - SMTP HARD-CODED",
style = MaterialTheme.typography.labelSmall, style = MaterialTheme.typography.labelSmall,
color = Color.LightGray.copy(alpha = 0.5f) color = Color.LightGray.copy(alpha = 0.5f)
) )