From 4dbc938cda44798397dc6d3783524fe14be6c4e0 Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 16 Nov 2018 15:23:46 +0100 Subject: [PATCH] Use fully qualified localhost --- app/src/main/java/eu/faircode/email/ServiceSynchronize.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/eu/faircode/email/ServiceSynchronize.java b/app/src/main/java/eu/faircode/email/ServiceSynchronize.java index 7d803c50a8..49c32da54f 100644 --- a/app/src/main/java/eu/faircode/email/ServiceSynchronize.java +++ b/app/src/main/java/eu/faircode/email/ServiceSynchronize.java @@ -1464,6 +1464,7 @@ public class ServiceSynchronize extends LifecycleService { // Create session Properties props = MessageHelper.getSessionProperties(ident.auth_type, ident.insecure); + props.put("mail.smtp.localhost", "localhost.localdomain."); final Session isession = Session.getInstance(props, null); // Create message