Author Topic: How does "remove deleted messages" work for pop accounts?  (Read 2096 times)

nica

  • Guest
How does "remove deleted messages" work for pop accounts?
« 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).
« Last Edit: September 05, 2016, 10:00:48 pm by nica »

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: How does "remove deleted messages" work for pop accounts?
« Reply #1 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 :)
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

nica

  • Guest
Re: How does "remove deleted messages" work for pop accounts?
« Reply #2 on: September 05, 2016, 10:13:06 pm »
Thanks for explanation. Not a common feature of pop clients, right?

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: How does "remove deleted messages" work for pop accounts?
« Reply #3 on: September 05, 2016, 10:28:27 pm »
Um, I honestly don't know :)
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/