Hola:
Tengo la siguiente configuracion:
Código:
require("class.phpmailer.php");
$mail= new PHPMailer(); // defaults to using php "mail()"
$mail->CharSet = 'UTF-8';
$body= $mail_contendio_html;
$mail->SMTPAuth = true;
$mail->SMTPSecure = '';
$mail->Host = "********";
//$mail->Port = 25;
$mail->Username = "*********";
$mail->Password = "*********";
$mail->IsSMTP(); // telling the protocol to use SMTP
$mail->From = "*********";
$mail->FromName = "*********";
$mail->IsHTML(false);
$mail->Subject = "[*********] Asteko notifikazioa (" + date(Y-m-d) + ")";
$mail->MsgHTML($body);
$destinatarios=explode(",", "**********");
Los datos que aparecen con "*******" son datos que no quiero que se hagan publicos pero estan bien insertados.
Con esta configuración, aprece el siguiente error:
Código:
SMTP Error: Could not connect to SMTP host.
Que puedo hacer?
Gracias