EnterSendTo problem

Hello, I want to use the following code:

 mdoc.EnterSendto = sendlist



 where mdoc is the email I want to send out; and sendlist is a string "personA, personB, personC".



 Actually when I run this code, the "to:" field can only show "personA". 

 Please tell me where I'm wrong.

 Thanks in advance.

I found the problem: If the sendlist is too long, it canonly display the first name; if the sendlist is not long, it’s fine;

Thanks.

Subject: RE: EnterSendTo problem

The real problem is that you need to assign the field from an array. E.g. mdoc.EnterSendto = Split(sendlist, “,”)

You probably want to get rid of those spaces, too. There may be an easier way to do this depending where you get the value sendlist from. It might be that it’s already multivalued wherever you read it from, and all you need to do is not convert it to a single string before you use it.