If you ever want to send an email to multiple emails. e.g send email to manager1@test.com and manager2@test.com but also copy directors director1@test.com and director2@test.com then you can you use a ; character as a delimiter. see below code
Cheers
PHP Code:
$emailId = record\create(
'Email',
'to', 'manager1@test.com;manager2@test.com',
'cc', 'director1@test.com;director2@test.com',
'status', 'Sending',
);
ext\email\send($emailId);
Cheers