[Webinar] Streamline your web hosting managementRegister Today

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

Send to Multiple Ppl using COM object

I have vb code that will send a notes mail message, by creating a notes session, a database and then a document object.  So I have a line like:

doc.SendTo = "Me"

Also the copyto:

doc.CopyTo = "Them"

I realize on the Send command you can specifiy multiple recipients (if you did not specify sendto/copyto.. as above.

How do I use the SendTo and CopyTo attributes in order to send to multiple recipients?

0
rmichels
Asked:
rmichels
1 Solution
 
AntonysinghCommented:
Hi rmichels,

use array to pass multiple address to sendto or copyto fields.

for example,

me(0) = "me1"
me(1) = "me2"
me(3) = "me3"

them(0) = "them1"
them(1) = "them2"
them(3) = "them3"

doc.SendTo = me

doc.CopyTo = them

I hope this may solve your problem.

Regards,
Antony.
0

Featured Post

[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

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