Once you have validated the form and stored the results you would call mail()
Assuming your have already taken the users $_POST variable, validated it and stored it as $email further up the script then ….
$to = $email;
$subject = 'Form submission at www.yoursite.com';
$message = 'This is an auto generated response from www.yoursite.comrnrnThank you for your submission.rn';
$headers = 'From: email@example.com' . "rn" .
mail($to, $subject, $message, $headers);
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
*May or may not contain any actual "CSS" or "Tricks".