PHP Code:
/**
* Change the email address to your own.
*
* $empty_fields_message and $thankyou_message can be changed
* if you wish.
*/
// Change to your own email address $your_email = "you@example.com";
// This is what is displayed in the email subject line
// Change it if you want $subject = "Message via your contact form";
// This is displayed if all the fields are not filled in $empty_fields_message = "
Please go back and complete all the fields in the form.
";
// This is displayed when the email has been sent $thankyou_message = "
Thankyou. Your message has been sent.
";
// You do not need to edit below this line
$name = stripslashes($_POST['txtName']); $email = stripslashes($_POST['txtEmail']); $message = stripslashes($_POST['txtMessage']);
if (!isset($_POST['txtName'])) {
?>
No comments:
Post a Comment