ciao

ho questo codice per l' invio di una email con php
utilizzo PHPMailer.
l' host mi richiede l ' autenticazione...
questo è l' errore che mi da

SMTP Error: Could not connect to SMTP host.

Codice PHP:
$email =new PHPMailer();

  
$email->From     "mig@xxx.it";
  
$email->FromName "MIG";
  
$email->Subject  "SI FUNZIONA";
  
$email->Body="questo è un test";

  
$email->isSMTP();
  
$email->SMTPAuth true;
  
$email->Port  25;
  
$email->Host     "mail.xxx.it";
  
$email->Username "xxx.xx.it"; (non è una email)
  
$email->Password "12345";
  
$email->Mailer   "smtp";

  
$email->AddAddress('ced@xxx.it');

  if (!
$email->Send()) $message "Si è verificato un errore nell' invio della mail di conferma".$email->ErrorInfo;
  else 
$message="tutto ok!!";

  
$email->ClearAddresses();
  
$email->ClearBCCs();
  
$email->ClearAttachments(); 
controllate il codice , è corretto... cosa potrebbe essere ???