<?php 
  $to = 'winsfolio@gmail.com' . "\r\n";
  $subject = 'Job Hiring From Qlik';
  $applied =$_POST['applied']; 
  $name = $_POST['complete_name']; 
  $email = $_POST['email_address']; 
  $gender =$_POST['gender'];
  $citizenship = $_POST['citizenship'];  
  $location =$_POST['location'];
  $experience_y =$_POST['experience-y']; 
  $experience_m =$_POST['experience-m'];  
  $sallary_m =$_POST['sallary-m'];
  $sallary_y =$_POST['sallary-y'];
  $designation =$_POST['designation'];
  $keyskills =$_POST['keyskills'];
  $lang =$_POST['lang'];
  $message =$_POST['message'];
  $cv =$_POST['cv'];
  $terms =$_POST['terms'];
  $newsletter =$_POST['newsletter']; 
   
  $headers = "Reply-To: $name <$email>\r\n"; 
  $headers .= "Return-Path: The Sender <$email>\r\n"; 
  $headers .= "From: $email" ."\r\n" .
  $headers .= "Qlik Job Hiring\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 .= "*****Job Hiring From Qlik*****";
  $Body .= "\n";
  $Body .= "Applied: ";
  $Body .= $applied;
  $Body .= "\n";
  $Body .= "Full Name: ";
  $Body .= $name;
  $Body .= "\n"; 
  $Body .= "Email Address: ";
  $Body .= $email;
  $Body .= "\n";  
  $Body .= "Gender: ";
  $Body .= $gender;
  $Body .= "\n"; 
  $Body .= "Citizenship: ";
  $Body .= $citizenship;
  $Body .= "\n"; 
  $Body .= "location: ";
  $Body .= $location;
  $Body .= "\n";
  $Body .= "Experience Y: ";
  $Body .= $experience_y;
  $Body .= "\n";
  $Body .= "Experience M: ";
  $Body .= $experience_m;
  $Body .= "\n"; 
  $Body .= "Sallary M: ";
  $Body .= $sallary_m;
  $Body .= "\n";
  $Body .= "Sallary Y: ";
  $Body .= $sallary_y;
  $Body .= "\n";
  $Body .= "Designation: ";
  $Body .= $designation;
  $Body .= "\n";
  $Body .= "Keyskills: ";
  $Body .= $keyskills;
  $Body .= "\n";
  $Body .= "Lang: ";
  $Body .= $lang;
  $Body .= "\n";
  $Body .= "Message: ";
  $Body .= $message;
  $Body .= "\n";
  $Body .= "Cv: ";
  $Body .= $cv;
  $Body .= "\n";
  $Body .= "Terms: ";
  $Body .= $terms;
  $Body .= "\n";
  $Body .= "Newsletter: ";
  $Body .= $newsletter;
  $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 Service Maintenance\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);

 ?> 