how to send emails to multiple addresses using phpmailer
问题 I am trying to send emails to multiple email addresses using php mailer but its not working. I've tried explode the addresses but nothing seems to work. here is my code html: <input type="text" name="addresses" value="{$addresses}"/> current output in the input is test1@gmail.com,test2@gmail.com,test3@gmail.com, php to send email: /* Get Customer info*/ $sql = mysql_query("SELECT * FROM customer WHERE ID='$id' LIMIT 1"); $sql=mysql_fetch_array($sql); $fname=$sql['FIRST_NAME']; $lname=$sql[