<?php
// code goes here
$to = ""; // this is your Email address
$from = $_POST['email']; // this is the sender's Email address
$name = $_POST['name'];
$one = $_POST['one'];
$two = $_POST['two'];
$three = $_POST['three'];
$four = $_POST['four'];
$subject = "Form submission";
$subject2 = "Copy of your form submission";
$message = $name . " " . $one . " " . $two . " " . $three . " " . $four . " " . "\n\n" . $_POST['message'];
$message2 = "Here is a copy of your message " . $name . "\n\n" . $_POST['message'];
$headers = "From:" . $from;
$headers2 = "From:" . $to;
mail($to,$subject,$message,$headers);
mail($from,$subject2,$message2,$headers2); // sends a copy of the message to the sender
echo "Thankyou for your feedback " . $name;
?>
EMAIL: Name(optional):
I am very satisfied with the way the company is performing its tasks to its clients.
Strongly agree Agree Neutral Disagree Strongly disagree
How satisfied are you with the company services?
Not at all SatisfiedSomehow Satisfied Satisfied Very Satisfied Delighted
How often do you use our services?
Once a yearDaily Weekly Monthly Every 2 to 3 months Do not use
p>Based on your awareness of our Service, is it better, the same, or worse than other companies?Much betterBetter About the same Worse Much Worse