Mailsend to multiple adresses

I need to send a mail to multiple users. I need to compose the mail address as a string … Let’s say, I have 2 mail addresses in a view. I retrieve those email adresses with a dblookup:

one:=@DbLookup(“”:“NoCache”;“”:“”;“view_settings”;“mail-admin”;2);

two:=@DbLookup(“”:“NoCache”;“”:“”;“view_settings”;“mail-approvers”;2);

sendto:=one+"; "+two;

@MailSend(sendto;“”;“”;“Title “;“Body text” ;””; [IncludeDoclink]);

the final string is like this:

user1@domain.com; user2@domain.com

But this is not working. What am I doing wrong here?

Subject: Mailsend to multiple adresses

You’re building a string when you should be using a list. Use this:

sendto:=one : two;

Subject: Mailsend to multiple adresses

your line should read as

sendTo := one : two

John