Examples: CreateLog method

This script opens a mail message for logging and mails it to Jimmy Ho.

Dim session As New NotesSession
Dim currentLog As NotesLog
Set currentLog = session.CreateLog( "Checkup Agent" )
Call currentLog.OpenMailLog _
( "Jimmy Ho", "Log for Checkup Agent" )
Call currentLog.Close