OpenMailLog (NotesLog - LotusScript®)

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.

Defined in

NotesLog

Syntax

Call notesLog .OpenMailLog( recipientsV , subject$ )

Parameters

recipientsV

String or array of strings. The recipients of the mail memo. Can be a string containing the name of a single user or an array of strings containing the names of several users.

subject$

String. The subject of the mail memo.

Usage

When you call this method, it opens the current user's mail database, as specified in the Address Book, and uses this 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