I am trying to export Lotus Notes email B开发者_C百科ody {Rich Text} to ASP.Net application using c api com components, I wanted to use below functions... in my c# code.
MailGetMessageBodyComposite (Doc.Handle,.....)
Export RTF
I am not able to find out Handle of the document in C#.
Any Help will be appreciated.
Regards, Nilesh
I'm not an expert in the C API, but I imagine the rules are similar to COM or LotusScript. You'll need to get the handle to the note from another object. Usually you can start from the current session, then get a handle to a particular database, then either do a search within that database or find a note by UNID (or perhaps iterate through a view or folder.)
Here is some documentation on the NSFNoteOpenByUNID method that will find a note by UNID if you have a handle to the database.
精彩评论