Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 547
  • Last Modified:

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")
0
jareddraper
Asked:
jareddraper
1 Solution
 
brwwigginsCommented:
Use an array or a group from the NAB
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now