With mail() you can send mails in text- or html-format to one or more persons.
to = receiver of the mail
subject = subject of the mail
message = the message
If you want to send a mail to more than one person you can speparate the email addresses in the "to-area" with a comma.