Got this exception:
Message was not sent
Mailer Error : Language string failed to load: data_not_accepted
Here is the code
<?php
ini_set("include_path", ".;c:\php\includes");
require("class.phpmailer.php");
$mail = new PHPMailer();
$mail->IsSMTP(); // send via SMTP
$mail->Host = "localhost"; // SMTP servers
$mail->From = "pppp@yahoo.com";
$mail->AddAddress("ttttt@tiaa-cref.org");
$mail->Subject = "Here is the subject";
$mail->Body = "This is the HTML body ";
$mail->WordWrap = 50;
if(!$mail->Send())
{
echo "Message was not sent <p>";
echo "Mailer Error : " . $mail->ErrorInfo;
exit;
}
echo "Message has been sent";
?>
Please advise