mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-23 06:31:17 +00:00
Debug info: added MX check
This commit is contained in:
parent
9a3daf0065
commit
dcb424a5eb
1 changed files with 9 additions and 0 deletions
|
@ -1094,6 +1094,15 @@ public class DebugHelper {
|
|||
|
||||
boolean[] has46 = ConnectionHelper.has46(context);
|
||||
|
||||
boolean mx;
|
||||
try {
|
||||
DnsHelper.checkMx(context, new Address[]{Log.myAddress()});
|
||||
mx = true;
|
||||
} catch (Throwable ignored) {
|
||||
mx = false;
|
||||
}
|
||||
|
||||
size += write(os, "MX=" + mx + "\r\n");
|
||||
size += write(os, "Has IPv4=" + has46[0] + " IPv6=" + has46[1] + "\r\n");
|
||||
size += write(os, "VPN active=" + ConnectionHelper.vpnActive(context) + "\r\n");
|
||||
size += write(os, "Data saving=" + ConnectionHelper.isDataSaving(context) + "\r\n");
|
||||
|
|
Loading…
Reference in a new issue