You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by ro...@apache.org on 2020/06/08 13:16:04 UTC
[james-project] 10/30: JAMES-3179 Fix RemoteDeliveryConfiguration
class configuration
This is an automated email from the ASF dual-hosted git repository.
rouazana pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git
commit f798f6d01b579926952bbfa412e8e4da9b2092db
Author: Gautier DI FOLCO <gd...@linagora.com>
AuthorDate: Tue May 12 15:35:37 2020 +0200
JAMES-3179 Fix RemoteDeliveryConfiguration class configuration
---
.../transport/mailets/remote/delivery/RemoteDeliveryConfiguration.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/mailet/mailets/src/main/java/org/apache/james/transport/mailets/remote/delivery/RemoteDeliveryConfiguration.java b/server/mailet/mailets/src/main/java/org/apache/james/transport/mailets/remote/delivery/RemoteDeliveryConfiguration.java
index 68ef607..0cbee09 100644
--- a/server/mailet/mailets/src/main/java/org/apache/james/transport/mailets/remote/delivery/RemoteDeliveryConfiguration.java
+++ b/server/mailet/mailets/src/main/java/org/apache/james/transport/mailets/remote/delivery/RemoteDeliveryConfiguration.java
@@ -225,7 +225,7 @@ public class RemoteDeliveryConfiguration {
if (isBindUsed()) {
// undocumented JavaMail 1.2 feature, smtp transport will use
// our socket factory, which will also set the local address
- props.put("mail.smtp.socketFactory.class", RemoteDeliverySocketFactory.class.getClass());
+ props.put("mail.smtp.socketFactory.class", RemoteDeliverySocketFactory.class);
// Don't fallback to the standard socket factory on error, do throw an exception
props.put("mail.smtp.socketFactory.fallback", "false");
}
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org