$user_mail=$_POST['user_mail']; $user_id=$_POST['user_id']; error_reporting(0); require_once('PHPMailer_v5.0.2/class.phpmailer.php'); $mail = new PHPMailer(); $mail->CharSet = "utf-8"; $mail->IsHTML(true); $mail->IsSMTP(); $mail->SMTPAuth = true; // enable SMTP authentication $mail->SMTPSecure = "ssl"; // sets the prefix to the servier $mail->Host = "smtp.gmail.com"; // sets GMAIL as the SMTP server $mail->Port = 465; // set the SMTP port for the GMAIL server $mail->Username = $user_mail; // GMAIL username $mail->Password = ""; // GMAIL password $mail->From = "office"; // "[email protected]"; //$mail->AddReplyTo = "[email protected]"; // Reply $mail->FromName = "Webmaster"; // set from Name $mail->Subject = "ข้อความจากระบบ"; $mail->Body = "ข้อความ</b>"; $mail->AddAddress("[email protected]"); // to Address //$mail->AddCC("[email protected]", "Mr.Member ShotDev"); //CC //$mail->AddBCC("[email protected]", "Mr.Member ShotDev"); //CC $mail->set('X-Priority', '1'); //Priority 1 = High, 3 = Normal, 5 = low $mail->Send();
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง