SendTo Address format
Posted on 2008-06-25
I have a chunk of code that uses the SendTo function, I know how to set a field to one persons name and send the document to them, I need to be able to send to a list of people. How do I have to format the names so the SendTo can send to the list instead of a single name?
Here is a sample of what I have
Dim s As New notesSession
Dim mailsend As notesDocument
Set mailsend = s.currentDatabase.createDocument
mailsend.Form = "Memo"
mailsend.Subject = msg
mailsend.SendTo = ADDRESS <----- this variable is currently set to one name I need to be able to use four names
Dim body As notesRichTextItem
Set body = mailsend.createRichTextItem("Body")