| Server IP : 104.21.37.246 / Your IP : 172.71.28.146 [ Web Server : Apache System : Linux cpanel01wh.bkk1.cloud.z.com 2.6.32-954.3.5.lve1.4.59.el6.x86_64 #1 SMP Thu Dec 6 05:11:00 EST 2018 x86_64 User : cp648411 ( 1354) PHP Version : 7.2.34 Disable Function : NONE Domains : 0 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home2/cp648411/public_html/homhuan.com/ |
Upload File : |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Homhuan ชุดปฏิบัติธรรม ชุดขาว สินค้าคุณภาพ</title>
</head>
<body>
<?php
include("include/PHPMailer_v5.0.2/class.phpmailer.php");
$mail = new PHPMailer();
$body = "TEST PHPMailerTEST PHPMailerTEST PHPMailerTEST PHPMailerTEST PHPMailerTEST PHPMailerTEST PHPMailerTEST PHPMailer ";
$mail->CharSet = "utf-8";
$mail->IsSMTP();
$mail->SMTPDebug = 2;
$mail->SMTPAuth = true;
$mail->SMTPSecure = "TLS";
$mail->Host = "mail.kainumber.com";//"smtp.yourdomain.com"; // SMTP server
$mail->Port = 25;
$mail->Username = "[email protected]"; // account SMTP
$mail->Password = "NoRewsx3"; // รหัสผ่าน SMTP
$mail->SetFrom([email protected]", "yourname");
$mail->AddReplyTo("[email protected]", "yourname");
$mail->Subject = "TEST PHPMailer.";
$mail->MsgHTML($body);
//$mail->AddAddress("[email protected]", "recipient1"); // ผู้รับคนที่หนึ่ง
//$mail->AddAddress("[email protected]", "recipient2"); // ผู้รับคนที่สอง
$mail->AddAddress("[email protected]", "v_chai"); // ผู้รับคนที่สอง<br />
$mail->AddAddress("[email protected]", "v_chai"); // ผู้รับคนที่สอง
if(!$mail->Send()) {
echo "Mailer Error: " . $mail->ErrorInfo;
} else {
echo "Message sent!";
}
?>
</body>
</html>