if(isset($_POST['send']) && $_POST['send'] == 'Send') { $first_name = $_POST['first_name'] ; $last_name = $_POST['last_name'] ; $tel = $_POST['tel'] ; $fax = $_POST['fax'] ; $email = $_POST['email'] ; $address = $_POST['address']; $city = $_POST['city']; $post_code = $_POST['post_code']; $remark = $_POST['remark'] ; $country = $_POST['country']; // edit the email address to you want. //$tos = "shine@iseleven.com"; $tos = "mbras@tm.net.my"; $subject = "Inquiry from www.mbras.org.my"; $extra = "From: $email\r\nReply-To: $email\r\n"; $mess = "Enquiries from www.mbras.org.my"."\n\n\n"."Name: ".$first_name."\n"."Company Name: ".$last_name."\n\n"."Address: ".$address."\n"."City: ".$city."\n"."Postal Code: ".$post_code."\n"."Country: ".$country."\n"."Email: ".$email."\n"."Tel: ".$tel."\n\n"."Message: ".$remark."\n"; mail ($tos, $subject, $mess, $extra); $sent = 1; $mess_sent ='
**Thanks for you inquiry.
We will reply to you as soon as possible.
|