AquaMail Forum

English - Android => General Discussion => Topic started by: nica on September 05, 2016, 09:58:37 pm

Title: How does "remove deleted messages" work for pop accounts?
Post by: nica on September 05, 2016, 09:58:37 pm
Hi, I'm just asking by interest. Usually I use IMAP.

I'm wondering that there is an option for pop accounts to delete messages locally, when they are deleted on server. And it works.

But how this is done in POP in this direction server - - > client? I thougt, this would be impossible for POP.

Are many clients able to do it? E.g. Thunderbird on desktop does not have this option (as far as I know).
Title: Re: How does "remove deleted messages" work for pop accounts?
Post by: Kostya Vasilyev on September 05, 2016, 10:07:34 pm
Re: how this is done in POP in this direction server - - > client

By comparing IDs of messages reported by the server vs. IDs of messages in the app's database.

And then deleting whatever is not in the server message list but is present in the database.

Just a bit of code :)
Title: Re: How does "remove deleted messages" work for pop accounts?
Post by: nica on September 05, 2016, 10:13:06 pm
Thanks for explanation. Not a common feature of pop clients, right?
Title: Re: How does "remove deleted messages" work for pop accounts?
Post by: Kostya Vasilyev on September 05, 2016, 10:28:27 pm
Um, I honestly don't know :)