There are many things, that come and go
from your Lotus Notes $Inbox. And, keeping it to a managable
size, while tracking whats going in the the world, can be pretty
daunting.
So, I have a few tips, that can help you write agents to Clean Your Inbox.
But, there is a gotcha! The search function is a database
search and not a view specific search. So, the above
example will not only find documents in your inbox, it will also
find document that have the flag IsMailStationery
and proceeded to move and delete your stationary, if the search
item matches something on one of your stationeries. So we will add
this to our search string.
OK. So we are now doing a search on
the NotesDocumentCollection and things are going fine. So, lets up
the anti and single out documents by date. We can do this, because
the Memo has a PostedDate filed in it. But, we can not
readily mixed in a before this date to the search. So we use the FTSearch
on the collection to do a FIELD on the date.