you can use this php script for sending emails.....
< ?php
$name= $_POST['name'];
$email= $_POST['e-mail'];
$phone= $_POST['phone'];
$address= $_POST['address'];
$message= $_POST['message'];
$recipent="xyz@gmail.com";
$subject="Customer Query";
$mailheaders="From: "$name"." ".Phone No.:."$phone"." ".Address:."$address"";
$mailheaders .="Reply To: "$email"";
mail($recipent,$subject,$message,$mailheaders);
?>
No comments:
Post a Comment