<form class="feedback-form auform" name="contactform" action="#" method="post">
<?php @extract($_POST);?>
<?php
$to = "indrajeet@nimbusitsolutions. com";
$subject= $name . "" . "(By Ireoskyon.net.in)";
//body
$body = "\n Client Details :
\n\n Name : " . $name .
"\n Phone : ". $phone .
"\n Email : ". $email ;
if (mail($to, $subject, $body, "Fromemail") {
echo("<script>alert('Thank you for contacting with us!!'); window.location.href = 'http://ireoskyon.net.in/';</ script>";
} else {
echo("<p style='text-align:center;'> Message delivery failed...</p>";
}
?>
</form>