Past this code and change Email Id, as per your data

<html>

<head>

<script type=”text/javascript”>

<!–

function delayer()

{

document.location = “contact.html?result=1”;

}

//–>

</script>

<title>Welcome to Kangan Films</title>

<body onLoad=”setTimeout(‘delayer()’, 1000);”>

<?php

$name = $_REQUEST[“name”];

$email = $_REQUEST[“email”];

$event1 = $_REQUEST[“event1”];

$date1 = $_REQUEST[“date1”];

$hr1 = $_REQUEST[“hr1”];

$event2 = $_REQUEST[“event2”];

$date2 = $_REQUEST[“date2”];

$hr2 = $_REQUEST[“hr2”];

$venue = $_REQUEST[“venue”];

$contactno = $_REQUEST[“contactno”];

$findus = $_REQUEST[“findus”];

$services = $_REQUEST[“services”];

$findus1 = $_REQUEST[“findus1”];

$to = “kanganfilms@gmail.com”;

$subject =”Contact Us”;

$header=”From: “.$name.” <“.$email.”> “;

$message =”

Name : $name \n

Email address : $email \n

Event1 : $event1 \n

Date Of Event1 : $date1 \n

Hours of Event1 : $hr1 \n

Event2 : $event2 \n

Date Of Event2 : $date2 \n

Hours of Event2 : $hr2 \n

Venue : $venue \n

Contact No : $contactno \n

Service : $findus \n

Comments : $services \n

I Found You By : $findus1 \n”;

$mailsent=mail($to,$subject,$message,$header);

if($mailsent)

{

echo “<script language=’javascript’>window.location=’thanks.htm’;</script>”;

}

die();

?>

</form>

</body>

</html>

Leave a Reply