Open Bug 2084114 Opened 1 month ago

[panorama] Implement retention management to PerFolderDatabase

Categories

(MailNews Core :: Database, task)

task
Points:
3

Tracking

(Not tracked)

People

(Reporter: babolivier, Unassigned)

References

(Blocks 1 open bug)

Details

This is implementing GetMsgRetentionSettings and SetMsgRetentionSettings for getting and setting retention settings (which can be stored as folder properties like the current code does: https://searchfox.org/comm-central/source/mailnews/db/msgdb/src/nsMsgDatabase.cpp#4398-4402), and ApplyRetentionSettings to apply the settings and purge old messages.

Dependency on bug 2083771 is because ApplyRetentionSettings can be told to use nsIMsgFolder::DeleteMessages (via aDeleteViaFolder) to delete messages (as opposed to deleting from the database directly).

You need to log in before you can comment on or make changes to this bug.