简体   繁体   中英

Accessing mails from “mail\ServerMailFile.nsf” file from Domino Server using “Interop.Domino.dll”

I can open contacts,to-do list from "mail/usermail.nsf" file. But unable to open or access mails from it.

I am using below code to access "calender":

_serverDatabase = _lotesNotesSession.GetDatabase("", "mail\ServerMailFile.nsf", false);
 NotesView LotusNotesView = _localDatabase.GetView("Calendar");

Is there any similar way to access mail?

Try this instead NotesView LotusNotesView = _localDatabase.GetView("($Inbox)");

The Calendar view only gets calendar docs (meetings, reminders, appointments, etc).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM