hi guys
i have an textfiled called EMAIL. i want that the post of this textfiled appear inside mail message. how i can do that?
Check the code:
code:
<?php
$sendTo = "[EMAIL="xxx@hotmail.com"]xxx@hotmail.com[/EMAIL]";
$subject = "Formulario via web!!!";
$headers = "From: " . $_POST["Cristalab_Flashform"];
$headers .= "<" . $_POST["email"] . ">
";
$headers .= "Reply-To: " . $_POST["email"];
$message = $_POST["cuerpo"];
$asunto = $_POST["asunto"];
mail($sendTo, $subject, $message, $asunto, $headers);
echo "estado=Mensaje enviado!";
?>CODE]
sample of how i want looks the mail message.
---------------------------------------------------------
mail: ( email textfiled )
asunto: ( asunto textfiled )
message: ( message textfiled )
------------------------------------------------------------
regards.