Say hello !
Feel Free To Contact us.
"; function clean_text($text='') { $text = trim($text); $text = strip_tags($text); $text = addslashes($text); $text = htmlspecialchars($text); return $text; } if($_POST['mail']) { // edit this only :) $to = 'support@domains.foundation'; $your_name = 'Deepak'; $captcha = $_POST['captcha']; $captcha=strtoupper($captcha); if($_SESSION['captcha']!=$captcha) { $errors[] = 'Please enter the correct captcha code!'; } if(empty($errors) == true) { $name = clean_text($_POST["name"]); $mail = clean_text($_POST["mail"]); $url = clean_text($_POST["url"]); $message = clean_text($_POST["message"]); $title = "$mydomain | Contact us from $name"; $message = "Dear admin this email come from $sitename user $name With email $mail URL is $url \n\nMessage is $message"; $headers = "From: $name <$mail>\r\n"; $headers .= "MIME-Version: 1.0\r\n"; $headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n"; $do = mail($to, $title, $message, $headers); if($do) { echo "Email Sent to support"; } }else{ echo output_errors($errors); } } echo "