Skip to content

Commit

Permalink
Add debug option for mailer
Browse files Browse the repository at this point in the history
  • Loading branch information
dersmon committed Jul 11, 2024
1 parent 851cf2d commit 5d888e6
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ public MailService(final @Value("${mailSMTPServer}") String smtpServer
props.put("mail.smtps.auth", true);
props.put("mail.transport.protocol","smtp");
props.put("mail.smtp.tls", "true");

props.put("mail.debug", "true");

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

0 comments on commit 5d888e6

Please sign in to comment.