Skip to content

Commit

Permalink
Merge branch 'master' into ghcr-publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
bobhageman authored Nov 15, 2023
2 parents 28c06c4 + 56b5891 commit a51e364
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ public static void send(String toAddresses, String subject, String body, String
Session session;
if (EmailConfiguration.getInstance().getMailUser().length() > 0) {
props.put("mail.smtp.auth", "true");
props.put("mail.smtp.ssl.checkserveridentity", "true");

session = Session.getInstance(props, new Authenticator() {
@Override
protected PasswordAuthentication getPasswordAuthentication() {
Expand Down

0 comments on commit a51e364

Please sign in to comment.