Contact Form Help


Recently I downloaded a template which is awesome. However, it has a contact form on it but no way to set it up easily. I’m wondering how I can use the code provided in order to make it send to my email address. I’m aware this’ll use PHP or something similar of which I have no idea how to use.

I’d like it to change the “Any spam will be ignored and deleted” text to “Your email has been sent successfully” or “Your email has not been sent successfully, please correct errors”. Any help would be much appreciated.

You can view the page here; and the contact form is at the bottom of it.




Without seeing all of the files and PHP code, it’s hard to help…

You will need a mail.php file that looks something like this.

$to = "[email protected]";
$subject = “Test mail”;
$message = $_REQUEST[‘message’];

/* $message = “Hello! This is a simple email message from me.”;*/
$from = "[email protected]";
$headers = “From:”.$from;

echo “Mail Sent.”;

$send = mail($to, $subject, $message, $headers);

/* if($send && $message != “”){

 header( "Location:" ) ; }


{ header( "Location:" ) ; }


?> [/php]

Please keep in mind this is not specific to your form but it should do the trick once you modify it.

Sponsor our Newsletter | Privacy Policy | Terms of Service