Search code examples
c#lotus-notesinterop-domino

How to check Mail Read or Unread Property (Lotus Notes) using C#


I want to check mail read and unread property using C#. i.e want to check whether mail is read or not. (using Domino.dll)


Solution

  • The unread marks table is not exposed through the "back-end classes" (which is what you are most likely using with Domino.dll). This is available thorugh the lower level C API - it's a bit more work to deal with, but if you are interested, look at the "NSFDbGetUnreadNoteTable", which takes a database handle and returns a handle to an "IDTable" (essentially, a document collection).

    IBM Documentation