I don\'t know how the data should be formatted for AddAddress PHPMailer function; I need the email to be sent to multiple recipients so I tried
$to = \"me@d
Some great answers above, using that info here is what I did today to solve the same issue:
$to_array = explode(',', $to); foreach($to_array as $address) { $mail->addAddress($address, 'Web Enquiry'); }