Member No. Name Lastname Mobile No. e-mail checked used ".$_POST['MemberNo']." ".$_POST['name']." ".$_POST['Lastname']." ".$_POST['MobileNo']." ".$_POST['Email']."     "; $strSubject = $_POST['Subject']; $strHeader = "MIME-Version: 1.0\r\n"; $strHeader .= "Content-type: text/html; charset=UTF-8\r\n"; $strHeader .= "From: =?utf-8?B?".base64_encode($_POST['name'])."?=<".$_POST['Email'].">\r\n"; $strTo = $mailTo; $flgSend = @mail( $strTo , $strSubject , $sendMessage , $strHeader); if($flgSend) { echo "
คุณได้ลงทะเบียน Japin's e-Family เรียบร้อยแล้วค่ะ
Register success...
"; } else { echo "
Register failed.
"; } echo "\n"; //echo "

ตกลง

"; exit(); } ?>