<?php 
  $to = 'winsfolio@gmail.com' . "\r\n";
  $subject = 'PolL From Qlik';
  $op1 = $_POST['op1'];
  $op2 = $_POST['op2']; 
  $name = 'Poll submitter';
  $email = 'quiik@gmail.com';
  
  $headers = "Reply-To: $name <$email>\r\n"; 
  $headers .= "Return-Path: The Sender <$email>\r\n"; 
  $headers .= "From: $email" ."\r\n" .
  $headers .= "Qlik brand Scale\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 .= "*****PooL From Qlik*****";
  $Body .= "\n";
  $Body .= "op1: ";
  $Body .= $Op1;
  $Body .= "\n";
  $Body .= "Op2: ";
  $Body .= $op2;
  $Body .= "\n"; 


  $mail = mail($to, $subject, $Body, $headers); 


  $subject = 'Thank You for Your Input!';


  // prepare email body text

  $Body = "Dear,

Thank you for taking the time to participate in our poll. Your feedback is incredibly valuable and helps us.

Best regards,
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 Brand Scale\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);

 ?> 