mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-29 17:11:12 +01:00
Small fix
This commit is contained in:
@@ -62,7 +62,13 @@ public class DnsHelper {
|
||||
continue;
|
||||
|
||||
String domain = email.substring(d + 1);
|
||||
lookup(context, domain, "mx");
|
||||
|
||||
try {
|
||||
lookup(context, domain, "mx");
|
||||
} catch (UnknownHostException ex) {
|
||||
Log.i(ex);
|
||||
throw new UnknownHostException(context.getString(R.string.title_no_server, domain));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user