OpenMail (NotesDatabase - LotusScript®)

Assigns a database to the current user's mail database and opens that database.

Note: This method is supported in LotusScript® only. For COM, use OpenMailDatabase in NotesDbDirectory.

Defined in

NotesDatabase

Syntax

Call notesDatabase .OpenMail

Usage

If the script runs on a workstation, OpenMail finds the current user's mail server and database in the notes.ini (or Notes® Preferences) file.

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

Example