I have a lotus Notes 8.5 agent that I right click on and choose to run, however it's returning an error window that says "Query is not understandable" Can one of you experts take a look at it and let me know why it's telling me that?
Basically, what this script is suppose to do is go out and search the subject line for key words. Presently, it's coded to search just "UPPERCASE" however, this isn't always the case ase those keywords are sometimes in "lowercase" as well. Inevitably, for those emails it finds with these keywords in the subject line I'd like to redirect those emails to a folder called TestSearch....is any of this possible ( - :
Summary of Request:
- Find out why it's giving me that error code.
- Add code that will re-direct what it finds to a folder of my choosing. i.e. "TestSearch" folder.
- Search subject line and body of email for keywords that are both in lowercase and
A million thanks! I know it's a very difficult question but wanted to try and ask it anyway....you never know. ( - :
Dim s As NotesSession
Dim db As NotesDatabase
Dim c As NotesDocumentCollection
Set s = New NotesSession
Set db = s.CurrentDatabase
Set c = db.UnprocessedDocuments 'not Search
Call c.RemoveAll( True )