Empty Mail Box Trash Sample Code

Mindwatering Incorporated

Author: Tripp W Black

Created: 09/28/2010 at 02:22 PM

 

Category:
Notes Developer Tips
LotusScript

The function below traverses through mail files and empties the Trash in each one and then compacts that mail file. The idea is to regain some disk space.
This is one of those, oh-my-we-are-almost-out-of-space, do something quick agents . . .

DumpMailfileTrash.txtDumpMailfileTrash.txt

The function below is another out-of-disk space panic agent, that goes through the ($Sent) folder and purges anything older than "n" days.

DeleteOldSentMail.txtDeleteOldSentMail.txt



previous page