diff --git a/src/main/java/de/vzg/reposis/digibib/email/EmailClientFactory.java b/src/main/java/de/vzg/reposis/digibib/email/EmailClientFactory.java index a9b38804..a4564709 100644 --- a/src/main/java/de/vzg/reposis/digibib/email/EmailClientFactory.java +++ b/src/main/java/de/vzg/reposis/digibib/email/EmailClientFactory.java @@ -76,7 +76,7 @@ protected PasswordAuthentication getPasswordAuthentication() { } }; } - return Session.getDefaultInstance(createSessionPropertiesMap(propertiesMap), authenticator); + return Session.getInstance(createSessionPropertiesMap(propertiesMap), authenticator); } private static Properties createSessionPropertiesMap(Map propertiesMap) {