Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

SendTo Address format

Posted on 2008-06-25
1
Medium Priority
?
544 Views
Last Modified: 2013-12-18
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
Comment
Question by:jareddraper
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 20

Accepted Solution

by:
brwwiggins earned 1000 total points
ID: 21867705
Use an array or a group from the NAB
0

Featured Post

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is an old article, please see an updated version of this article, located here: http://www.experts-exchange.com/articles/23619/Notes-8-5x-Windows-7-Notes-info-and-tips.html
Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question