openMailLog (Log - Java)

Opens a new mail memo for logging. The memo is mailed when the log's close method is called, or when the object is deleted.

Note: This method works only in Domino® agents.

Defined in

Log

Syntax

public void openMailLog(java.util.Vector recipients, String subject)
    throws NotesException

Parameters

java.util.Vector recipients

The recipients of the mail memo. Each element is an object of type String.

String subject

The subject of the mail memo.

Usage

When you call this method, Domino® uses the current user's mail database to create and send the mail memo. The memo is not saved to the database.

Logging actions and errors

For information on how actions and errors get logged to a mail log, see the logAction and logError methods.

Example