Check with reduced timeout

This commit is contained in:
M66B
2019-10-19 10:05:43 +02:00
parent 064e6a53fc
commit 6e29e09de5
10 changed files with 19 additions and 27 deletions

View File

@@ -271,7 +271,7 @@ public class FragmentPop extends FragmentBase {
// Check POP3 server
if (check) {
String protocol = "pop3" + (starttls ? "" : "s");
try (MailService iservice = new MailService(context, protocol, null, insecure, true)) {
try (MailService iservice = new MailService(context, protocol, null, insecure, true, true)) {
iservice.connect(host, Integer.parseInt(port), MailService.AUTH_TYPE_PASSWORD, user, password);
}
}