<?php 
  $to = 'winsfolio@gmail.com' . "\r\n";
  $subject = 'Expertise Freelancer From Qlik';
  $service =$_POST['service']; 
  $name = $_POST['name']; 
  $email = $_POST['mail']; 
  $contrycode =$_POST['contrycode'];
  $phone = $_POST['phone'];  
  $ssn =$_POST['ssn'];
  $ssn_num =$_POST['ssn-num']; 
  $country_select =$_POST['country-select'];  
  $state =$_POST['state'];
  $city =$_POST['city'];
  $pincode =$_POST['pincode']; 
  $textfield1 =$_POST['textfield1'];
  $othercompany =$_POST['othercompany'];
  $subject =$_POST['subject'];
  $description =$_POST['description'];
  $corporation =$_POST['corporation'];
  $bussinesscmpny =$_POST['bussinesscmpny'];
  $shares =$_POST['shares'];
  $share_value =$_POST['share_value'];
        
   
  $headers = "Reply-To: $name <$email>\r\n"; 
  $headers .= "Return-Path: The Sender <$email>\r\n"; 
  $headers .= "From: $email" ."\r\n" .
  $headers .= "Qlik Expertise Freelancer\r\n";
  $headers .= "MIME-Version: 1.0\r\n";
  $headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
  $headers .= "X-Priority: 3\r\n";
  $headers .= "X-Mailer: PHP". phpversion() ."\r\n" ;

  // prepare email body text
  $Body = "";
  $Body .= "*****Expertise Freelancer From Qlik*****";
  $Body .= "\n";
  $Body .= "Service: ";
  $Body .= $service;
  $Body .= "\n";
  $Body .= "Full Name: ";
  $Body .= $name;
  $Body .= "\n"; 
  $Body .= "Email Address: ";
  $Body .= $email;
  $Body .= "\n";  
  $Body .= "Contrycode: ";
  $Body .= $contrycode;
  $Body .= "\n";  
  $Body .= "Phone: ";
  $Body .= $phone;
  $Body .= "\n"; 
  $Body .= "Ssn: ";
  $Body .= $ssn;
  $Body .= "\n"; 
  $Body .= "Ssn-num: ";
  $Body .= $ssn_num;
  $Body .= "\n";
  $Body .= "Country Select: ";
  $Body .= $country_select;
  $Body .= "\n";  
  $Body .= "State: ";
  $Body .= $state;
  $Body .= "\n";
  $Body .= "City: ";
  $Body .= $city;
  $Body .= "\n"; 
  $Body .= "Pincode: ";
  $Body .= $pincode;
  $Body .= "\n";
  $Body .= "Textfield1: ";
  $Body .= $textfield1;
  $Body .= "\n"; 
  $Body .= "Othercompany: ";
  $Body .= $othercompany;
  $Body .= "\n";
  $Body .= "Subject: ";
  $Body .= $subject;
  $Body .= "\n";
  $Body .= "Description: ";
  $Body .= $description;
  $Body .= "\n";
  $Body .= "Corporation: ";
  $Body .= $corporation;
  $Body .= "\n";
  $Body .= "Bussinesscmpny: ";
  $Body .= $bussinesscmpny;
  $Body .= "\n"; 
  $Body .= "Shares: ";
  $Body .= $shares;
  $Body .= "\n"; 
  $Body .= "Share_value: ";
  $Body .= $share_value;
  $Body .= "\n";  
 
  $mail = mail($to, $subject, $Body, $headers); 


  $subject = 'Thank You for Your Request on Qlik';
  $name = $_POST['complete_name'];
  $to = $_POST['email_address']; 

  // prepare email body text

  $Body = "Thank you for reaching out to us with your request.We have received your request for and are currently reviewing it. If you have any additional information or specific requirements, please feel free to share them with us. We will keep you updated and ensure a prompt response.
  Thank you for choosing Quiik";


  $headers = "Reply-To: Winsfolio <winsfolio@gnmail.com>\r\n"; 
  $headers .= "Return-Path: Quiik <winsfolio@gnmail.com>>\r\n"; 
  $headers .= "From: winsfolio@gnmail.com>" ."\r\n" .
  $headers .= "Qlik Expertise Freelancer\r\n";
  $headers .= "MIME-Version: 1.0\r\n";
  $headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
  $headers .= "X-Priority: 3\r\n";
  $headers .= "X-Mailer: PHP". phpversion() ."\r\n" ;
  $mail = mail($to, $subject, $Body, $headers);

 ?> 