Update mail configuration to use SSL with custom socket factory.

This commit is contained in:
stijn committed 2025-08-16 23:01:22 +02:00
1 parent 37fb49cda1
commit c3f3b20807
1 file changed
+2 -1
@@ -16,4 +16,5 @@ spring.mail.port=${MAIL_PORT:465}
spring.mail.username=${MAIL_USER} spring.mail.username=${MAIL_USER}
spring.mail.password=${MAIL_PASSWORD} spring.mail.password=${MAIL_PASSWORD}
spring.mail.properties.mail.smtp.auth=true spring.mail.properties.mail.smtp.auth=true
spring.mail.properties.mail.smtp.starttls.enable=true spring.mail.properties.mail.smtp.ssl.enable=true
spring.mail.properties.mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory