JAVA/CORBA CLASSES


openMailDatabase method
Example

Opens the current user's mail database.

Defined in

DbDirectory

Syntax

public Database openMailDatabase()
   throws NotesException

Return value

Database


Usage

If the program runs on a workstation, openMailDatabase finds the current user's mail server and database in the notes.ini file.

If the program runs on a server, the current user is considered to be the last person who modified the agent (the agent's owner), and openMailDatabase finds the user's mail server and database in the Domino Directory on the server.

If the program is making remote (IIOP) calls to a server, the current user is the user who created the session, and openMailDatabase finds the user's mail server and database in the Domino Directory on the server.

Language cross-reference

OpenMailDatabase method in LotusScript NotesDbDirectory class

Example
See Also