$title="ยินดีต้อนรับสมาชิกใหม่แห่ง Jobshotelthailand.com"; $desc=" <html> <title>ยินดีต้อนรับสมาชิกใหม่แห่ง Jobshotelthailand</title> <body> ยินดีต้อนรับ คุณ ".$name." ".$surname."<br>ทาง jobshotelthailand ยินดีต้อนรับสมาชิกใหม่ <br>Username ของคุณ คือ ".$username."<br>Password ของคุณ คือ ".$password."<br><br>กรุณา Login เข้าระบบตามลิงค์ <a href='www.webexpertgroup.com'>www.webexpertgroup.com</a><br>ขอบคุณที่ใช้บริการ </body> </html> "; $strTo = $email; $strSubject = $title; $headers = "MIME-Version: 1.0" . "\r\n"; $headers .= "Content-type:text/html;charset=tis-620" . "\r\n"; $headers .= "From: [email protected]"; $strMessage = $desc; $flgSend = @mail($strTo,$strSubject,$strMessage,$headers); // @ = No Show Error //
$mail->SetFrom('$msendfrom', '$ss_UserID'); $mail->AddReplyTo('$msendfrom', '$ss_UserID'); $mail->Subject = "MIME-Version: 1.0" . "\r\n"; $mail->Subject = "Content-type:text/html;charset=tis-620" . "\r\n"; $mail->Subject = "From: [email protected]"; $mail->Subject = "$msubjct"; $mail->AltBody = "$Description"; // optional, comment out and test $mail->MsgHTML("$Description"); $address = "$mtxTo"; $mail->AddAddress("$mtxTo"); //$mail->AddAttachment("images\webmail-login.gif"); // attachment $mail->AddAttachment("$mtxfileAttach"); // attachment /* if(copy($_FILES["$mtxfileAttach"]["tmp_name"],"myfile/".$_FILES["$mtxfileAttach"]["name"])) { echo "Copy/Upload Complete"; } */ if(!$mail->Send()) { echo "Mailer Error: " . "$mail->ErrorInfo"; } else { echo "Message sent!"; }
$strSubject = "=?UTF-8?B?".base64_encode("ทดสอบส่งอีเมล์ ชื่อ Subject ภาษาไทย")."?="; $strHeader = "'MIME-Version: 1.0' . \r\nContent-type: text/html; charset=utf-8\r\n"; // or UTF-8 // $strHeader .= "From: Mr.Weerachai Nukitram<[email protected]>\r\nReply-To: [email protected]"; $strVar = "ทดสอบครับ";
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง