Ben benim sunucu cron bilgi bu e-posta aldım.
"` Client_errors paylaşılan nesne farklı bir boyutu vardır, yeniden bağlama düşünün "
Bu nedir?
Bu cron işi sadece basit bir e-posta script
Bu betik
include("../admin/connect.php");
require("../class.phpmailer.php");
$from = "Me@me.com";
$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();
}
teşekkürler