I am creating an agent that will automatically forward mails to other users. I have tried "after new mail has arrived" but as I test and run it, it echoes, "Special database object cannot be located." What seems to be the problem? Thanks.
The object that cannot be located could be any number of things. Try creating a copy of your agent and change the execution to run "manually from actions view." Then modify your code so that it will operate on the selected document. Set your Notes client to "Debug LotusScript." Go to a view, select a document and run your agent. The debug will show you the object that is causing the trouble. Once you know that, you can then fix the problem.