From 5bde34c2a431485f47678fc07c0e0470bc0e5497 Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 8 Nov 2019 08:26:42 +0100 Subject: [PATCH] Use app ID for HELO Some servers reject their own host name --- app/src/main/java/eu/faircode/email/MailService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/MailService.java b/app/src/main/java/eu/faircode/email/MailService.java index 5b8e8fd68a..1ad69981ad 100644 --- a/app/src/main/java/eu/faircode/email/MailService.java +++ b/app/src/main/java/eu/faircode/email/MailService.java @@ -301,7 +301,7 @@ public class MailService implements AutoCloseable { } } else if ("smtp".equals(protocol) || "smtps".equals(protocol)) { - String haddr = host; + String haddr = BuildConfig.APPLICATION_ID; if (useip) try {