Hi,
Strange problem here. I have installed (for months) on my local server php, mysql & phpMyAdmin using AppServ ver 2.4. Now I've also used the php mailer in the past to send out emails. In fact I sent one out yesterday..Now for some reason I get the following error. I haven't changed anything on the server or the php mailer script....
Mailer Error: Language string failed to load: instantiate
Here is my script
<?
require "class.phpmailer.php";
$mail = new PHPMailer();
$mail->PluginDir = "phpmailer/";
$mail->From = "faz@domain.com";
$mail->FromName = "ifaz";
$mail->AddAddress("info@do
main.com",
"info");
$mail->AddReplyTo("faz@dom
ainl.com")
;
$mail->Subject = "test";
$mail->IsHtml(true);
$mail->Body = "<html><body>HELLO THERE</body></html>";
$mail->AltBody = "you email client is HTML disabled";
if(!$mail->Send()) {
//echo "Message was not sent";
echo "Mailer Error: " . $mail->ErrorInfo;
}
else {
echo "Message has been sent";
}
?>
Pls help....It's super-frustrating when I know I didn't change anything. Thanks.
Start Free Trial