摘要 |
A clean-up system recaptures part of the memory or secondary storage space on a client device, such as a handheld personal computer. E-mail messages are organized in a hierarchy of folders within a database. Each folder may or may not contain e-mail messages. A user downloads e-mail messages from a server to the client device. The user marks any folders that he wishes to use upon disconnect from the server for off-line use. Upon disconnect from the server, the clean-up system begins with the first e-mail message in the database. A test module determines if the e-mail message is linked to a folder in the service hierarchy to be cleaned-up. If the message is linked to a folder in the service hierarchy to be cleaned-up, an off-line module determines if the folder is marked for off-line use. If the folder is marked for off-line use, the message linked to the folder is retained for later use. If the folder is not marked for off-line use, a delete module deletes the message linked to the folder, recapturing part of the memory or secondary storage space on the client device. This routine is repeated for each and every message within the database.
|