I have an agent that runs after new mail arrives. If I tell it to run from the console using "tell amgr run “database name” ‘agent name’ it runs and give output (print statements to the log and sends email). If I leave it alone to be triggered by new mail arriving in the mail-in database, it does run, but I don’t get any output. The first Print statement is the very first line after the Dim statements and it doesn’t get to the log. So I am not having trouble getting it to run - the console shows it runs, but it doesn’t seem to do anything unless I call it using tell amgr run.
Why do you think the same code won’t run the same way based on the trigger (manual call to amgr to run or amgr being run from the arrival of new mail)?