Working with IBM Notes
About IBM Notes
IBM Notes is a client and IBM Domino is a server of a collaborative client-server software platform. IBM Notes provides collaboration features like email, calendars, to-do lists, contacts management, etc. The database file used by IBM Notes is saved in the Notes Storage Facility (NSF) format.
Detect a File is in NSF Format
The code sample below will show you how to recognize the NSF file format:
var formatType = FileFormatUtil.DetectFileFormat("storage.nsf").FileFormatType; // Returns FileFormatType.Nsf
Read messages from NSF storage file
Note, the NSF implementation is quite limited. In general, it is possible to face some problems in the following cases:
-
The file was created by Notes version 7 and higher
-
LZ1 compression is used
Aspose.Email provides the NotesStorageFacility class to read NSF storage files. The NotesStorageFacility class provides the EnumerateMessages method which iterates over the messages in the NSF storage file. The following sample code demonstrates the use of the NotesStorageFacility class and the EnumerateMessages method to read messages from the NSF storage file.