![](images/contacttitle.jpg)
ติดต่อ / สอบถาม / ขอรายละเอียดสินค้า กรุณากรอกแบบฟอร์มด้านล่างค่ะ
For emergency call : Tel. +66 (0)2 979 2982-3 | Fax. +66 (0)2 979 2984
"; $message.="Company : ".$_POST['company']; $message.="
"; $message.="Contact number : ".$_POST['tel']; $message.="
"; $message.="Subject :".$_POST['subject'].""; $message.="
"; $message.="Message :".$_POST['message']; //define the receiver of the email $strTo = "3builders@polysource.co.th"; //define the subject of the email $Subject = $_POST['subject']; $strSubject ='=?UTF-8?B?'.base64_encode($Subject).'?='; //create a boundary string. It must be unique //so we use the MD5 algorithm to generate a random hash $strHeader = "Content-type: text/html; charset=utf-8\r\n"; // or UTF-8 // $strHeader.= "MIME-Version: 1.0\r\n"; //$strHeader .= "From: ".$_POST['name']."\r\n"; //$strHeader .= "Reply-To: ".$_POST['email']."\r\n"; $strHeader.= "From: ".$_POST['name']."<".$_POST['email'].">\r\nReply-To: ".$_POST['email']; //define the body of the message. //$strheader .= "X-Mailer: PHP/Techstore"; $strMessage = $message; //send the email $flgSend = @mail($strTo,$strSubject,$strMessage,$strHeader); // @ = No Show Error // //if the message is sent successfully print "Mail sent". Otherwise print "Mail failed" if(!$flgSend) { echo "Mailer Error: "; } else { $date=date('Y-m-d'); $sql="insert into enquiry values ('','".$_POST['name']."','".$_POST['company']."','".$_POST['email']."','".$_POST['tel']."','".$_POST['subject']."','".$_POST['message']."','".$date."')"; $rs=mysql_query($sql); if($rs!=false){ ?> }else{ echo "
Sending failed ".mysql_error(); } } }else{ //form if($_GET['name']){ $sub="Enquiry for ".$_GET['name']; }elseif($_GET['app']){ $sub="Application information of ".$_GET['app']; }else{ $sub=""; } ?> } ?>
-
3builders
3/3 Moo 2, Tiwanon Rd.,
Bangklang, A. Muang,
Pathumthani, Thailand,
12000. -
Fax : +66 (0) 2979 2984
Mobile : 089 444 8875
Email : 3builders@polysource.co.th
-
3builders
3/3 หมู่ 2, ถนนติวานนท์,
บ้านกลาง อ.เมือง,
ปทุมธานี 12000 -
แฟกซ์ : +66 (0) 2979 2984
มือถือ : 089 444 8875
อีเมลล์ : 3builders@polysource.co.th
3Builders - Reliability in Customer Engineering.