DB=SESSION.GetDatabase(m.mailserver,m.mailfile) >DOC=DB.CreateDocument() >DOC.Form='Memo' >DOC.Subject='Testing 123' >DOC.Body="This is a test of VFP to Notes" >DOC.From=session.UserName >dimension recipients(2) >recipients(1) = 'Phil Thomas' >recipients(2)='John Smith' >DOC.Send(.f.,recipients) >doc.Save(.t.,.t.) &&Saves the document in the database>
dimension recipients(2) recipients(1) = 'Phil Thomas' recipients(2)='John Smith' DOC.Send(.f.,@recipients)If that doesn't work, you may have to use COMARRAY() to pass the array to the Nodesdocument COM object reference. See help for information if you need it.