Examples: Close method (NotesLog - LotusScript®)

This script opens and then closes a mail log. When the Close method is called, the log gets mailed.

Dim currentLog As New NotesLog( "Log closing" )
Call currentLog.OpenMailLog( "Jimmy Ho", "Here's your log" )
'...log some errors and actions...
Call currentLog.Close   ' mail memo gets sent to Jimmy Ho now