The second parameter of the SendMessage function takes an array with the e-mail address of all recipients.
Anyway, you are recommended to use the MIME message class in conjunction with this to send messages, as it extracts the recipient addresses from the headers.
phpclasses.org/mimemessage