mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 12:44:42 +00:00
Dummy EHLO
This commit is contained in:
parent
2187e526af
commit
d1203ee62d
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue