tito502
-
Posts
1 -
Joined
-
Last visited
Never
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
autoresponse email
in PHP Coding Help
Posted
<?php
$sendTo = "myaddress@hotmail.com";
$subject = " site reply";
$headers = "From: " . $_POST["name"] ." ". $_POST["phone"] . "<" . $_POST["email"] .">\r\n";
$headers .= "Reply-To: " . $_POST["email"] . "\r\n";
$headers .= "Return-path: " . $_POST["email"];
$message = $_POST["message"];
mail($sendTo, $subject, $message, $headers);
?>
Thanks!!!