Código:
Alguna idea ??? algo que deberia agregar?? probe con mail() pero no funciono, por lo tanto ahora estoy usando esto, pero sigue igual...<?
require("class.phpmailer.php");
$mail = new PHPMailer();
$mail->IsSMTP();
$mail->Host = "algo";
$mail->SMTPAuth = true;
$mail->Username = "algo";
$mail->Password = "pass";
$mail->From = "algo";
$mail->FromName = "Mailer";
$mail->AddAddress("alguien","Josh Adams");
$mail->WordWrap = 50;
$mail->IsHTML(true);
$mail->Subject = "Here is the subject";
$mail->Body = "This is the <b>HTML body</b>";
$mail->AltBody = "This is the text-only body";
if(!$mail->Send())
{
echo "Message was not sent <p>";
echo "Mailer Error: " . $mail->ErrorInfo;
exit;
}
echo "Message has been sent";
?>
Gracias.

