I have some PHP code that I\'m using to send a form off to a specific e-mail address. However, I\'d like to include a couple more e-mail addresses in the PHP for when it sen
Use comma separated values as below.
$email_to = 'Mary , Kelly ';
@mail($email_to, $email_subject, $email_message, $headers);
or run a foreach for email address
//list of emails in array format and each one will see their own to email address
$arrEmail = array('Mary ', 'Kelly ');
foreach($arrEmail as $key => $email_to)
@mail($email_to, $email_subject, $email_message, $headers);