Added POP3 option to leave messages on server

This commit is contained in:
M66B
2019-09-25 13:26:56 +02:00
parent 8e245517f3
commit 13997a0848
9 changed files with 1904 additions and 12 deletions

View File

@@ -712,6 +712,8 @@ public class ServiceSynchronize extends ServiceBase {
final MailService iservice = new MailService(
this, account.getProtocol(), account.realm, account.insecure, debug);
iservice.setPartialFetch(account.partial_fetch);
if (account.pop)
iservice.setLeaveOnServer(account.browse);
final Map<EntityFolder, IMAPFolder> mapFolders = new HashMap<>();
List<Thread> idlers = new ArrayList<>();