|
|
|
At first, you would think that you could simply make a document collection, and search for the Subject having Delivery in it. However, this is a function of the view, and the actual message is using a form called “Delivery Notification.” So, what I did next, was to make a collection based on “Form=Delivery Notification” and then checked the dates for all of the forms.
Always remember to SAVE your code before stating the debugger. Until you save it, it is only in the designer, and not in your Lotus Notes mail database on the server. Your code window should look something like this, now.
You then go into the properties window and select Agent. In this pane you will name the agent Cean Inbox, make it an Action Menu Selection, and set the target to All documents in the view.
Debugging Your Lotus Domino LotusScript AgentNow we need to enable the debugger in your Lotus Notes Client. Goto the menu bar in the Lotus client window, and select File – Tools – Debug LotusScript. This is a toggle item, and it will be checked, when it is enabled. So a little popup window will indicate its state, as follows:
Click OK, and the item is now checked, and your LotusScript debugger is ready to step you through your new agent. Always remember to SAVE your code before stating the debugger. Until you save it, it is only in the designer, and not in your Lotus Notes mail database on the server.
Select your newly created agent from the Actions menu.
This will now launch the LotusScript debugger to run your newly created code. We will be using two buttons, for now. They are Step Into, and Stop.
This allows us to look at our code line by line (Step Into), and end it completely (Stop). Since we will be editing our code in the designer agent window, just stopping is good for now. Our complete window should look like this,
Now you can update your code, to work on the “Returned Receipts” or any other messages that you would like to periodically clean out of your inbox. And, I suggest moving them to the Trash Folder. Because this will give you a chance to change your mind.
|
|
|