lotus notes/ibm notes/domino 9 - how make emails read/unread programmatically in lotus script?

ljgww

I have traversed documents in the .nsf database in various ways (as a list of documents in database and/or list of documents in a view) but cannot find where read/unread email mark is stored. Due some large volume message processing I would need to examine each message and determine if read mark is set and according to algorithm mark it as read or not. (read some posts on internet but they apply to v6 - unsure if the same mechanism still applies to v9)

At this stage there is no exact code to show, as I am looking for ideas and suggestions how to do the agent code.

If it cannot be done from Lotus Script (as agent), please advise other better way, as I need to process multiple databases.

Emmanuel Gleizer

To access the flag:

flag = notesDocument.GetRead([username] ) Returns true if the current document has been read, otherwise false. Note This method is new with Release 8.5.

To update it:

Call notesDocumentCollection.MarkAllUnread( [username] )

Call notesViewEntryCollection.MarkAllRead( [username] )

For more fancy usage it could be with C API (never tested!) have a look at http://www-12.lotus.com/ldd/doc/tools/c/5.0.3/api503re.nsf/70cfe734675fd140852561ce00718042/d223db362ddb9e9985256632004f71db?OpenDocument

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Python : How can I access Lotus Notes 8.5 Inbox to read emails

How to make selection criterion on Roles in Lotus notes Views

How to find substring in string in Lotus Script Querysave

How to get a class object instance to delete itself in Lotus Script?

How does Lotus Notes databases store forms?

How do I change the default browser in lotus notes when opening links in emails?

How do I instantiate Lotus 123 Application

I want only managers to acces a hidden view Lotus Notes 9

Openfiledialog method alternative in lotus script

How to disable discover page on Lotus Notes 9 start up?

How to insert text and possible rich text as well at the current position of the cursor in a rich text field in Lotus Script?

how to retrive directory address and file name in lotus notes script

How to download attachments from lotus notes using vb script

Lotus Notes script "Alarms": check status

VBA to Lotus Notes - How to Add Attachment

Lotus notes: change view selection formula by script

Embedded image in HTML signature works in Lotus Notes 9 but not 8.5

In Lotus Notes 9 How do you manually run rules you've written on your inbox, without installing any other plugins / software?

Lotus notes script: create and open unsaved clone doc

Sending emails with lotus notes using windows command line

how to embed a video into Lotus Notes webpage

Lotus Notes: Press OK button from script in DialogBox

How to forward mails in lotus notes

Lotus script Lockout users how to get list of useres in memo

Lotus script: How to fix error "91 Object variable not set in FUNCTIONNAME(Object variable not set)"

How to remove document after moving from inbox in lotus script?

How to close file explorer window using lotus script

How to get author of a Notes document using lotus script?

How to connect to a Lotus-Notes database with Python?