mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 14:46:31 +02:00
Improved/fixed SMTP EHLO address
This commit is contained in:
@@ -304,6 +304,12 @@ public class ConnectionHelper {
|
||||
message.contains("User is authenticated but not connected") /* Outlook */));
|
||||
}
|
||||
|
||||
static Boolean isSyntacticallyInvalid(Throwable ex) {
|
||||
if (ex.getMessage() == null)
|
||||
return false;
|
||||
return ex.getMessage().toLowerCase().contains("syntactically invalid");
|
||||
}
|
||||
|
||||
static boolean vpnActive(Context context) {
|
||||
ConnectivityManager cm = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE);
|
||||
if (cm == null)
|
||||
|
||||
Reference in New Issue
Block a user