|
|
@ -221,6 +221,7 @@ public class EmailProvider {
|
|
|
|
} catch (Throwable ex) {
|
|
|
|
} catch (Throwable ex) {
|
|
|
|
Log.w(ex);
|
|
|
|
Log.w(ex);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
try {
|
|
|
|
// Retry at MX server addresses
|
|
|
|
// Retry at MX server addresses
|
|
|
|
Record[] records = lookupDNS(context, domain, Type.MX);
|
|
|
|
Record[] records = lookupDNS(context, domain, Type.MX);
|
|
|
|
for (Record record : records) {
|
|
|
|
for (Record record : records) {
|
|
|
@ -237,6 +238,9 @@ public class EmailProvider {
|
|
|
|
if (autoconfig != null)
|
|
|
|
if (autoconfig != null)
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
} catch (Throwable ex1) {
|
|
|
|
|
|
|
|
Log.w(ex1);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (autoconfig == null)
|
|
|
|
if (autoconfig == null)
|
|
|
|
throw ex;
|
|
|
|
throw ex;
|
|
|
|