"; $mail_subject = "Contact Email"; $thanks = "Thank you for your interest. We will contact you shortly."; $required = array( "company|Your company's name", "contact|Your name", "phone_area|Your area code", "phone_other|A number where we can reach you" ); if(isset($_POST['company'])) { // Goofy pedantic configuration... $email = ((isset($_POST['email']))?$_POST['email']:""); $company = ((isset($_POST['company']))?$_POST['company']:""); $contact = ((isset($_POST['contact']))?$_POST['contact']:""); $phone_area = ((isset($_POST['phone_area']))?$_POST['phone_area']:""); $phone_other = ((isset($_POST['phone_other']))?$_POST['phone_other']:""); $address = ((isset($_POST['address']))?$_POST['address']:""); $product = ((isset($_POST['product']))?$_POST['product']:""); $locations = ((isset($_POST['locations']))?$_POST['locations']:""); $deadline = ((isset($_POST['deadline']))?$_POST['deadline']:""); $mail_from = ((strstr($email,"@"))?$email:$mail_from); $mail_body = "The following information was received through the Contact Form on $_SERVER[HTTP_HOST] at ".date("g:ia")." on ".date("l, F jS").": Company: ".stripslashes($company)." Contact: Name: ".stripslashes($contact)." Phone: ($phone_area) $phone_other Email: $email "; if($address) $mail_body .= "Mailing Address:\n".stripslashes($address)."\n\n"; if($product) $mail_body .= "Product:\n".stripslashes($product)."\n\n"; if($locations) $mail_body .= "Product:\n".stripslashes($locations)."\n\n"; if($deadline) $mail_body .= "Deadline:\n".stripslashes($deadline)."\n\n"; mail($mail_to,$mail_subject,$mail_body,"From: $mail_from"); // print ""; $alert = $thanks; } ?> Energy Tubulars


Energy Tubulars
Thank you for your interest in Energy Tubulars Inc. To have a member of our sales team get in contact with you, please fill out the form below. We will be in contact with you as soon as is possible.
  *Indicates a required field
Company Name*
Contact Name*
Contacts Phone*   
Email Address
Mailing Address
Product you are interested in
Requirement is for which locations
How soon do you need this fulfilled?