loNotes = CreateObject("Lotus.Notessession") loNotes.initialize("myPassword") loDBDir = loNotes.GetDBDirectory("") loDb = loDBDir.OpenMailDatabase() loDoc = loDb.CreateDocument lcSubject = "Test Message" lcBody = "Body of Test Message" lcRecipient = "Recipient" loDoc.ReplaceItemValue("Subject", lcSubject) loDoc.ReplaceItemValue("Body", lcBody) loDoc.ReplaceItemValue("SendTo", lcRecipient) loDoc.Send(.F.)For multiple recipients I've tried using a comma delimited list
lcRecipient = "Recipient1,Recipient2"
but the Send() produced a "No Match found in Name & Address Books" error. I got the same results trying to use a semi-colon delimited list.DIME acRecipient[2] acRecipient[1]="Recipient1" acRecipient[2]="Recipient2" loDoc.Send(.F.,acRecipient) OR loDoc.Send(.F.,@acRecipient)The message was sent only to the first recipient.