|
|
@ -365,7 +365,8 @@ public class EmailService implements AutoCloseable {
|
|
|
|
throw ex;
|
|
|
|
throw ex;
|
|
|
|
} catch (MailConnectException ex) {
|
|
|
|
} catch (MailConnectException ex) {
|
|
|
|
if (ConnectionHelper.vpnActive(context)) {
|
|
|
|
if (ConnectionHelper.vpnActive(context)) {
|
|
|
|
MailConnectException mex = new MailConnectException(new SocketConnectException(
|
|
|
|
MailConnectException mex = new MailConnectException(
|
|
|
|
|
|
|
|
new SocketConnectException(
|
|
|
|
context.getString(R.string.title_service_vpn),
|
|
|
|
context.getString(R.string.title_service_vpn),
|
|
|
|
new Exception(),
|
|
|
|
new Exception(),
|
|
|
|
ex.getHost(),
|
|
|
|
ex.getHost(),
|
|
|
|