Hi
I got this email from cron info of my server.
"`client_errors' has different size in shared object, consider re-linking"
what is this ?
this cron job is just a simple email script
this is the script
include("../admin/connect.php");
require("../class.phpmailer.php");
$from = "[email protected]";
$fromname = "Me";
$mail = new PHPMailer(true); //New instance, with exceptions enabled
$mail->IsSMTP(); // tell the class to use SMTP
$mail->SMTPAuth = true; // enable SMTP authentication
$mail->Port = 587; // set the SMTP server port
$mail->Host = "smtp.gmail.com"; // SMTP server
$mail->Username = "********"; // SMTP server username
$mail->Password = "********"; // SMTP server password
$mail->SMTPSecure = "tls"; // sets the prefix to the server
$mail->IsSendmail(); // tell the class to use Sendmail
$mail->From = $from;
$mail->FromName = $fromname;
$mail->Subject = "Hi";
$edate = date("Y-m-d");
$query = "SELECT * FROM `set` WHERE expire = '$edate'";
$result = MYSQL_QUERY($query);
while ($row = mysql_fetch_array ($result))
{
$body .= "<pr>Hello<br /><br />";
$body .= "Hope everything is ok,<br />";
$text_body = "To view the message, please use an HTML compatible email viewer!";
$mail->Body = $body;
$mail->AltBody = $text_body;
$mail->AddAddress($row['email']);
$mail->Send();
$mail->ClearAddresses();
}
thanks