send multiple users a mail using the select field

Hi There,

I have a control app that sends mail to users of a specific group using an array.

i want to do the same but let the user use a multiple select field to choose their own users. but now i’m getting into trouble because the array created mail@mailadr.com,mail2@mailadr.com

can’t be used in the simple mail script.

or do i do something wrong?