I am using PHPMailer to send emails, i use this to add the email address to send to:
$email->AddAddress($result["emailto"]);
my email addresses are coming from a database, it works fine but if the emailto column in my database looks like:
email1@domain.com,email2@domain.com
i get an error saying You must provide at least one recipient email address.
how can i get round this to be able to send to multiple addresses?