Skip to content

Commit

Permalink
New proprety for mailer
Browse files Browse the repository at this point in the history
  • Loading branch information
dersmon committed Jul 11, 2024
1 parent 8c8ac4b commit 74fc96b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public MailService(final @Value("${mailSMTPServer}") String smtpServer

Properties props = new Properties();
props.put("mail.smtp.auth", true);
props.put("mail.transport.protocol","smtp");
props.put("mail.smtp.ssl.enable", true);
props.put("mail.debug", "true");

mailSender.setJavaMailProperties(props);
Expand Down

0 comments on commit 74fc96b

Please sign in to comment.