Sending mail to many people

Hi,

I have a names field with “allow multiple values” checked.

I store more than one name in this field.also, comma is used for separating the values.

Now if I want to send a mail to all the people whose names appear in this list I am using

mdoc.Sendto=reqdoc.GetItemValue(“Names_Field”)

but by using this a single string (no separators in between) is returned.

as a result mail is sent only to the person whose name appears first in the string.

What shall I do so that mail is sent to ll the persons in the list.

Subject: sending mail to many people

If you look at the document properties of the document at the view level does the names field show the names as multi-value or as a single string?

Alex

Subject: RE: sending mail to many people

use an array to store all the names…u should use Redim…