session_start(); $cansend=$HTTP_POST_VARS['cansend']; if($cansend==1) { require 'contact_setting.inc'; $mailTo = "$mailto"; $mailSubject="From ".$HTTP_POST_VARS["txtname"]; $name=$HTTP_POST_VARS["txtname"]; $company=$HTTP_POST_VARS["txtcompany"]; $address=$HTTP_POST_VARS["txtaddress"]; $phone=$HTTP_POST_VARS["txtphone"]; $fax=$HTTP_POST_VARS["txtfax"]; $email=$HTTP_POST_VARS["txtemail"]; $url=$HTTP_POST_VARS["txturl"]; $purpose=$HTTP_POST_VARS["txtpurpose"]; $comment=$HTTP_POST_VARS["txtcomment"]; $mailbody="Name :".$name; $mailbody=$mailbody."\n Company :".$company; $mailbody=$mailbody."\n Address :".$address; $mailbody=$mailbody."\nPhone: ".$phone; $mailbody=$mailbody."\nFax :".$fax; $mailbody=$mailbody."\nEmail :".$email; $mailbody=$mailbody."\nURL :".$url; $mailbody=$mailbody."\nPurpose :".$purpose; $mailbody=$mailbody."\nComments :".$comment; if(mail($mailTo,$mailSubject,$mailbody)) { $status="
|
Please use the form below to contact me. I will respond as soon as possible!
|