How to get list of views from "mail" in Lotus Notes using .NET?

Posted by Pari on Stack Overflow See other posts from Stack Overflow or by Pari
Published on 2009-08-31T14:03:01Z Indexed on 2010/03/22 7:01 UTC
Read the original article Hit count: 217

Filed under:
|

I am accessing mail from Lotus notes.

And in order to access "Inbox" i am using below code:

_notesDatabase = _lotusNotesServerSession.GetDatabase(LotusNotesServer, "mail\\" + nsfName, false);
NotesView inbox = _notesDatabase.GetView("($Inbox)");

Similarly for "Drafts".

But here i am specifying name of each view in GetView method. Which is not good coding.

I want to list these views "Inbox","Drafts" programaticaly using C#.

Can anybody give me solution?

Regards,

Preeti

© Stack Overflow or respective owner

Related posts about c#

Related posts about lotus-notes