Mailsend and list

The user choose some email adr. with @Picklist.The result is in SendTo.

The list look like this email1@test.com, email2@test.com…

Change the text string to a list.

send := @Implode(@Explode(Sendto;“,”);“:”);

After this it look like this:

“email1@test.com:email2@test.com”

@MailSend(send; “”; “”;Memo ; “”);

But @Mailsend fail. Just sends to the first email adresse.

I think the list should be like this

“email1@test.com” : “email2@test.com” how to do that?

Jarle.

Subject: Mailsend and list

Jarle,

If the SendTo field is multi-value, why do you need to convert it to a list???

I think it would work if you didn’t @Implode it

Mike

Subject: Mailsend and list

Just use the result of the @PickList in the SendTo value, since SendTo accepts multivalue and you need not convert it as @Picklist can also return a multiple value i.e.

var:=@PickList();

@MailSend(var; “”; “”;Memo ; “”);

cheers !!

Ashish

Subject: RE: Mailsend and list

Thanks,

That was the problem, the SendTo was not set to allow multivalue.

Thanks again…