Read/seen documents java domino imap

Hey everyone. I’m having a hard time figuring out how to see whether an email is read/unread through the (remote, (IIOP)) JAVA API supplied with domino (6.5). Using agents is not an option for me and the problem is easily solved that way (through getUnprocessed documents, I think).

I’ve been going through the documentation with a comb and the only thing remotely useful would be the selection formula @ViewShowThisUnread( unreadOnly ). However I don’t know how to use it and don’t think it is helpful?

I’ve searched many forums and been googling for about a week to try to solve this problem. Some people on this forum have been asking the same question but noone has responed to their posts. Most likely no one has an answer.

My question is this: Does anyone know if it is infact NOT possible, through the JAVA IIOP API, to retrieve information about whether a document (email) has been read or not.

I read that there is a local database that handles unread marks when the notes client is used…

Subject: read/seen documents java domino imap

In the Help document “Examples: Target and Trigger properties” you will see the following Java command:

case Agent.TARGET_UNREAD_DOCS_IN_VIEW:

This command is contained in a Java Agent for good reason–because of the following statement:

AgentContext agentContext = session.getAgentContext();

This statement gives Java a kind of look at the View UI.

When you use DIIOP API, you do not have this available to you. Therefore in my opinion, it is not possible to do.

If you think about this, you would realise that “unread marks” are a front-end function and API calls are a back-end function.

Regards

Rolf Pfotenhauer