Location : Cleveland, OH
IBM has released a new TechNote that describes the workings of the "Before New Mail Arrives" agent. From the TechNote:
The "Before new mail arrives" agent type was introduced in Lotus Notes®/Lotus Domino® 5.0. Before that time, mail-triggered agents acted on new mail once it was present in the mail file. Many customers requested the ability to execute agents before their end-users had a chance to see the new mail message in their Inbox. The Notes 4.x implementation of New Mail triggered agents did not allow this functionality because of a time lapse between new mail arrival and agent execution.
The "Before new mail arrives" mail trigger agent is executed before the incoming mail document is written out to a user's mail database and therefore allows the agent writer to control what happens to the new message.
If you have been wondering how that agent trigger works and its restrictions, this is the TechNote for you.
Link: How the 'Before new mail arrives' agent type functions
Comment posted by Frank Paolino08/08/2008 10:59:10 AM
Homepage: http://blog.maysoft.org/
This is really great functionality. We use it to change how the mail client behaves before the end user is impacted. One way we do this is to redirect spam to the JunkMail folder for user review. It is very easy to do, just by making a few lines of LS:
Call doc.PutInFolder( "JunkMail", True )
Call doc.RemoveFromFolder ( "$Inbox")
Just note that you can only have one of these agents, so if you need to do multiple things, you need to merge the agents into one.
Powered By : Domino
BlogSphere V1.3.1
Join The WebLog Revolution at BlogSphere.net
















- 