se ho capito bene
mi viene un dubbio però: fai implode su $righe che è già un array, perché non usi direttamente quello?Codice PHP:
// i backslash prima dei doppi apici, che dovresti cambiare con quelli singoli
$email = "\"xxx@email.it\", \"xxxx@fastwebnet.it\", \"xxxx@excite.it\"";
$aindirizzi = explode(",", $email);
foreach ($aindirizzi as $destinatario)
{ $mail = new PHPMailer(); $mail->SetLanguage("it","./"); $mail->IsSendmail(); // send via SMTP
$mail->Host = .... ?>