Contact us

 

 

Please enter your name.

'; } else if(!isEmail($formemail)) { $error = '

Please enter a valid E-mail address.

'; } if($error == '') { if(get_magic_quotes_gpc()) { $comments = stripslashes($comments); } // Enter the email address that you want to emails to be sent to. $address = get_option('ss_contactemail'); // Example, $e_subject = '$name . ' has contacted you via Your Website.'; $e_subject = 'WordPress - Message from Your Website'; $e_body = "This information has been submitted from your website:

"; $e_content = "Name: $formname
Email Address: $formemail
Comments: $formcomments
"; $msg = $e_body . $e_content; mail($address, $e_subject, $msg, "From: $formemail\nReply-To: $formemail\nReturn-Path: $formemail\nContent-Type: text/html\n"); // Email has sent successfully, echo a success page. echo "

" . $contact_success ."

"; } } if(!isset($_POST['contactus']) || $error != '') // Do not edit. { ?>