Skip to content

Commit

Permalink
switched from default session to session in email factory
Browse files Browse the repository at this point in the history
  • Loading branch information
golsch authored and kkrebs committed Nov 8, 2024
1 parent dfafefd commit 71961f6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ protected PasswordAuthentication getPasswordAuthentication() {
}
};
}
return Session.getDefaultInstance(createSessionPropertiesMap(propertiesMap), authenticator);
return Session.getInstance(createSessionPropertiesMap(propertiesMap), authenticator);
}

private static Properties createSessionPropertiesMap(Map<String, String> propertiesMap) {
Expand Down

0 comments on commit 71961f6

Please sign in to comment.