What code I should do change in this PHP script to send one email to more than 20 email addresses?
Try this. It works for me.
$to = $email1 .','. $email2 .','. $email3;