First: the php manual of the function mail() is very detailed with a lot of examples...
so look:
mail( $to, $subject, $message, $header)
$to = "[email protected]";
//if you want add more
$to .= ", [email protected]";
//you can seperate the mails with ","
$subject = "";
$message = "Hello world!";
// for html-emails you must set the content-type-header
$header = 'MIME-Version: 1.0' . "\r\n";
$header .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
// so here we are, here you can add an return address
// and add Cc and Bcc, that are added addresses, they will also get the email, so email to multiple addresses
$header = 'Reply-To: [email protected]' . "\r\n";
$header .= 'From: Geburtstags-Erinnerungen <[email protected]>' . "\r\n";
$header .= 'Cc: [email protected]' . "\r\n";
$header .= 'Bcc: [email protected]' . "\r\n";
So you can add addresses by seperating them by ",", you cann add Cc and Bcc and a lot more in the header. Check out the manual!
Note: The difference between Cc and Bcc is that when you are using Cc all addresses will see who you addressed, too, when using Bcc that is a "blind carbon copy" so the addresses can not see who you addressed additionally.