Attention! You must enter your name.
'; } else if(trim($email) == '') { $error = '
Attention! Please enter a valid email address.
'; // Configuration option. // Remove the // tags below to active phone number. //} else if(!is_numeric($phone)) { // $error = '
Attention! Phone number can only contain digits.
'; } else if(!isEmail($email)) { $error = '
Attention! You have enter an invalid e-mail address, try again.
'; } if(trim($subject) == '') { $error = '
Attention! Please enter a subject.
'; } else if(trim($comments) == '') { $error = '
Attention! Please enter your message.
'; } else if(trim($verify) == '') { $error = '
Attention! Please enter the verification number.
'; } else if(trim($verify) != 'blue') { $error = '
Attention! Verification answer is incorrect.
'; } if($error == '') { if(get_magic_quotes_gpc()) { $comments = stripslashes($comments); } // Configuration option. // Enter the email address that you want to emails to be sent to. // Example $address = "[email protected]"; $address = "[email protected],[email protected]"; // Configuration option. // i.e. The standard subject will appear as, "You've been contacted by John Doe." // Example, $e_subject = '$name . ' has contacted you via Your Website.'; $e_subject = 'You\'ve been contacted by ' . $name . ' via your SCTV website.'; // Configuration option. // You can change this if you feel that you need to. // Developers, you may wish to add more fields to the form, in which case you must be sure to add them here. $e_body = "You have been contacted by $name with regards to $subject, their additional message is as follows.\r\n\n"; $e_content = "\"$comments\"\r\n\n"; // Configuration option. // RIf you active phone number, swap the tags of $e-reply below to include phone number. //$e_reply = "You can contact $name via email, $email or via phone $phone"; $e_reply = "You can contact $name via email, $email"; $msg = $e_body . $e_content . $e_reply; //mail($address, $e_subject, $msg, "From: $email\r\nReply-To: $email\r\nReturn-Path: $email\r\n"); $result = $mgClient->sendMessage("$domain", array('from' => $from, 'to' => $address, 'subject' => $e_subject, 'html' => $msg, 'o:tag' => $tag)); // Email has sent successfully, echo a success page. echo "
"; echo "

Email Sent Successfully.

"; echo "

Thank you $name, your message has been submitted to us.

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

Contact Us




* Please answer to verify you are human.