SendTo Address format

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")
jareddraperAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
brwwigginsConnect With a Mentor IT ManagerCommented:
Use an array or a group from the NAB
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.