Skip to content

Commit

Permalink
Switch property value to smtps
Browse files Browse the repository at this point in the history
  • Loading branch information
dersmon committed Jul 11, 2024
1 parent 0273d75 commit 20a5b02
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public MailService(final @Value("${mailSMTPServer}") String smtpServer
String smtpUserPassword = System.getenv("SMTP_USER_PASSWORD");

Properties props = new Properties();
props.put("mail.smtp.auth", true);
props.put("mail.smtps.auth", true);

mailSender.setJavaMailProperties(props);
mailSender.setHost(smtpServer);
Expand Down

0 comments on commit 20a5b02

Please sign in to comment.