What code I should do change in this PHP script to send one email to more than 20 email addresses?
You can just write multiple email address to whom you want to send and pass it as the first argument. Example:-
mail("FirstEmailId@ABC.com, SecondEmilId@XYZ.com","Subject","Message","From: EmailId@PQR.com");
Fore readability sake in the code use an array and implode it to a comma separated string:-
$recipients = array(
"youremailaddress@yourdomain.com",
// more emails
);
$email_to = implode(',', $recipients); // your email address
$email_subject = "Contact Form Message"; // email subject line
$thankyou = "thankyou.htm"; // thank you page