Problem with scheduled agent

I have an agent in a DB that runs on a schedule.It is supposed to mail a doclink using @MailSend and then set a tracking field to “Yes”. The agent runs…the field gets set but no mail routes. I have created the same agent to run via the actions menu and it works everytime. I have checked all agent permissions…turned on agent logging with nothing remarkable in the log.Any ideas on waht could be the issue here?

Subject: problem with scheduled agent

If it is scheduled to run on the server, possibly that server is not set up to route mail.

Subject: same problem - any resolution?

Hi, did you get any resolution for this problem? We are having the same problem where the agent actually runs according to the log, updates a status field but doesn’t send the email with doc link. Yet I can run the agent manually with no problem and the mail goes fine. This particular agent has been running for years on the same database through Notes 4.6 to currently 6.5 with no problem. I’ve tried replacing the agent with an identical one, deleting and rebuilding the index, replacing the database with a replica and restarting the Agent task, but nothing worked. There are actually several similar agents in the database and all are doing the same thing (or NOT doing it!) Am scheduled to recycle server tonight, will post again if this makes a difference

Subject: RE: same problem - any resolution?

Anne,

I had similar problem a while ago. I seem to remember that the cause was that the default view in the database was missing or needing rebuilding. Have any of the views been changed?

Subject: RE: same problem - any resolution?

Can an agent that does the same things, but written in LotusScript, send the e-mail?