LOTUSSCRIPT/COM/OLE CLASSES
Sub Initialize Dim session As New NotesSession Dim db As NotesDatabase Dim doc As NotesDocument Set db = session.CurrentDatabase Set doc = New NotesDocument(db) doc.From = session.UserName doc.Subject = "Mary Lee" doc.Categories = "Eastern" doc.Body = "OK" Call doc.Save(True, False) End Sub
See Also