I want to access a users mail on a Domino-server using Java. I can login to the server with username and password, but to read mail, I need to know the path to the database (“mail/username.nsf”). How do I get it?
More specificaly I want to set dbPath automatically:
// TODO find the dbPath in the domino
String dbPath = “mail/administ.nsf”;
log.info("protocolConnect(): Getting database "+ dbPath);
currentDb = domSession.getDatabase(null, dbPath);
Thanks!