<?php
include (“include/config.php”);
$fname=$_POST[‘name’];
$email=”From:”.$_POST[’email’];
$comp=$_POST[‘company’];
$msg1=$_POST[‘message’];
$tomail=”swapn_developers@yahoo.com”;
$msg=”Company Name : ” .$comp.”
“.”Message : ” .$msg1;
$headers = “From: $email\r\n”;
$headers .= “Content-type: text/html\r\n”;
mail($tomail,”Contact Us Message”,$msg,$headers);
?>
Leave a Reply