Ver Mensaje Individual
  #5 (permalink)  
Antiguo 15/06/2007, 10:24
tattojk
 
Fecha de Ingreso: febrero-2005
Mensajes: 673
Antigüedad: 20 años
Puntos: 2
Re: Qhe debo hacer para mandar mails?

saludos jerkan

si en la carpeta de phpmailer tiene la carpeta languages y sus archivos; pero sigue saliendo el mismo error.....

include_once('PhpMailer/class.phpmailer.php');

$mail = new phpmailer (); # Crea una instancia
$mail->IsSMTP(); // telling the class to use SMTP
$mail->Host = "smtp.yahoo.com"; // SMTP server
$mail->Username = "[email protected]";
$mail -> From = "[email protected]";
$mail -> FromName = "dhldahldafhadlf";
$mail -> AddAddress ("[email protected]");
$mail -> Subject = "Prueba de envio";
$mail -> Body = "ahadkdahkjadhkdahkdahkdahkhdakhdakdahkdahkdah j";
$mail -> Sender = "[email protected]";
$mail -> IsHTML (true);
$archivos = '';
$msg = "Mensaje Enviado";

if (!$mail -> Send ()){
$msg = "No se pudo enviar el email";
}
echo "Error".$mail->ErrorInfo."<br>";


Agradezco tu ayuda....