Automatic emails on DragAndDrop

I have a mail file that contains several folders. An end user opens all incoming email and verifies the purpose, once verified they will drop into a specific folder. I need to be able to have an email sent once that message is dropped into the correct folder. Am I right in assuming DragAndDrop is the way to go, or is there another approach I should look at.

Subject: RE: Automatic emails on DragAndDrop

There is nothing in Notes whose name us “DragAndDrop” so you haven’t really described an approach.

There are two places you can insert event code to execute on drag into a folder; the QueryAddToFolder event of views, and the PostDragDrop event of the database (you can’t execute UI events of the target folder because it’s not open and therefore has no UI).

The problem with using PostDragDrop, is that there is another way to move documents into a folder besides dragging them. You can either use QueryAddToFolder (putting your code in a script library so you don’t have to duplicate it in every view and folder) or write a scheduled agent to periodically poll the folder for new documents.

Subject: Automatic emails on DragAndDrop

Hi,

It needs to be done in the Database Script QueryDragDrop and PostDragDrop as your requirement will be involving multiple folders.

Hope this helps.