Q
Problem solve Get help with specific problems with your technologies, process and projects.

Looking for an agent

I'm looking for an agent that schedules a mail every Monday at 3PM. But, as I look in "target option," I can append the agent only on event so "All Document in Database" or "All new documents in database." On the contrary, I need to send an e-mail to more destinations every Monday. Can you help
You didn't say whether there is any relationship between the documents in the database and the e-mail you want to send, nor what programming language you would like to use.

If there's no connection between the documents in the database and the e-mail you want to send, write the agent in LotusScript or Java and set it to run on "All documents in database." The agent will run once -- not once for each document. You can do whatever you want in the agent -- the UnprocessedDocuments collection will contain all the documents in the database, but you don't have to use this collection if you don't want to.

If you want to use the documents in the database (e.g., if each document contains a recipient e-mail address), but you want old documents as well as new or changed documents, you should still select "All documents in database." If you don't really want all of the documents, use the "Document Selection" tab of the Objects pane to enter a full-text query to restrict the documents to just those that meet certain criteria. You can instead use a SELECT statement (in a macro agent) or the NotesDatabase.Search method (in LotusScript), which is more efficient if your database does not contain a full-text index.

Do you have comments on this Ask the Expert question and response? Let us know.

Dig Deeper on Lotus Notes Domino Agents

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchWindowsServer

Search400

  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...

SearchDataCenter

SearchContentManagement

Close