1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-01 12:44:42 +00:00

Dummy EHLO

This commit is contained in:
M66B 2020-11-11 15:09:58 +01:00
parent 2187e526af
commit d1203ee62d

View file

@ -633,6 +633,8 @@ public class EmailService implements AutoCloseable {
}
static String getDefaultEhlo() {
if (BuildConfig.APPLICATION_ID.startsWith("eu.faircode.email"))
return "dummy.faircode.eu";
String[] c = BuildConfig.APPLICATION_ID.split("\\.");
Collections.reverse(Arrays.asList(c));
return TextUtils.join(".", c);