mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-29 11:15:51 +00:00
Small fix
This commit is contained in:
parent
36c050de84
commit
f0bcd619d3
1 changed files with 7 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue