How do POP3 clients delete emails later?

3

1

For example Thunderbird has the POP3 option to "Leave messages on the server." If this is checked then you can check "For at most __ days." How does it delete your emails later? Does it tell the server at the time of downloading to wait however many days then delete the downloaded emails, or does it keep track of time itself and when receiving emails in the future delete them then?

Also, what would happen if you had it set to delayed delete your emails and then later set it to leave them. Would the ones that had been downloaded during the first period but hadn't been deleted yet be left alone or deleted like originally planned? I'm also wondering about the reverse of this. If you have your program leave your emails then switch to have it delete them, would all of them get deleted?

Do all POP3 clients treat these situations the same? I'm wondering specifically about Thunderbird and Windows Live Mail.

Buge

Posted 2011-07-06T03:29:55.333

Reputation: 402

Answers

4

The answer to your first question is that the client deletes the messages (the POP3 protocol doesn't have provisions for delayed deletion)

As far as delayed deletion and then changing the setting, it depends on the client, but I would suspect that if you changed from 10 days to 30 days, the emails that were 11 days old or older at the time of the change would be safe until they were 30 days old.

If you were to do the inverse (30 - 10), I would expect the emails 11 days old and older to be deleted from the server at the next update.

For how individual clients behave, I suggest testing; It's the only way to be sure.

Slartibartfast

Posted 2011-07-06T03:29:55.333

Reputation: 6 899

Most (nearly all) eMail clients should keep track of it based on what the current setting is (this is also much easier to program from a software engineering perspective) than to keep track of it separately for each message (this is "the hard way" because it would require more tracking, programming, potentially longer POP3 sessions, etc.). I'm not aware of any eMail client that does it the hard way. – Randolf Richardson – 2011-07-06T03:45:14.043

1I agree, but I didn't want to test it out (I don't have the time, resources or interest in accuracy) or give a wrong answer to someone who might have the time, resources and interest. :) (though you wouldn't have to do it per-message; just keep track of the history of the setting until it was irrelevant. It would still be too much work and no reason to do it.) – Slartibartfast – 2011-07-06T04:31:15.453

Heheh, I wouldn't want to test it out either (+1). =) – Randolf Richardson – 2011-07-06T04:54:12.843