diff --git a/backend/src/main/java/de/uni_koeln/arachne/service/MailService.java b/backend/src/main/java/de/uni_koeln/arachne/service/MailService.java index ff2723b11..b7546f5bd 100644 --- a/backend/src/main/java/de/uni_koeln/arachne/service/MailService.java +++ b/backend/src/main/java/de/uni_koeln/arachne/service/MailService.java @@ -44,7 +44,8 @@ public MailService(final @Value("${mailSMTPServer}") String smtpServer Properties props = new Properties(); props.put("mail.smtps.auth", true); - + props.put("mail.transport.protocol","smtp"); + props.put("mail.smtp.tls", "true"); mailSender.setJavaMailProperties(props); mailSender.setHost(smtpServer); mailSender.setUsername(smtpUserName);