alert('Please enter the correct verifiction code.');";
} else if(!eregi('^([a-z0-9\._-])+@([^\.]+\.[^\.]+)', $_REQUEST["email"], $matched)) {
echo "";
} else {
// this is where you want your contact for to be sent
// you may put in multiple emails using a comma between them
// IT IS IMPORTANT THAT YOU CHANGE THIS TO YOUR EMAIL ADRESS
$recip = "mirha494@gmail.com";
$message = str_replace("\r", "\n", $message);
$senderip=$_SERVER['REMOTE_ADDR'];
// get the senders ip just in case
$subject = "your subject here";
// your content of the message
$mailbody = "Contact form sent by
Name: $name
Telephone: $telephone
Email: $email
Message:
$message
-------
sender's ip: $senderip";
// now to send the email off
if (mail($recip, $subject, $mailbody, "From: $email")) {
// add form data processing code here
echo "";
}
}
}
?>