59c59 < if (strpos(urldecode($_POST['thehtml']), "") !== false && strpos(urldecode($_POST['theto']), "@") !== false) { --- > if (strpos(urldecode($_POST['thehtml']), "") !== false) { 108c108 < $to = str_replace("mailto:", "", str_replace("sms:", "", urldecode($_GET['mt']))); --- > $to = str_replace("mailto:", "", urldecode($_GET['mt'])); 115c115 < if (strpos($to, "@") !== false || (trim($to) != "" && str_replace("0","",str_replace("1","",str_replace("2","",str_replace("3","",str_replace("4","",str_replace("5","",str_replace("6","",str_replace("7","",str_replace("8","",str_replace("9","",trim($to))))))))))) == "")) { --- > if (strpos($to, "@") !== false) { 117c117 < if (strpos($to, "@") !== false) { mail($to, $subject, $body); } --- > mail($to, $subject, $body); 131c131 < if (strpos($to, "@") !== false || (trim($to) != "" && str_replace("0","",str_replace("1","",str_replace("2","",str_replace("3","",str_replace("4","",str_replace("5","",str_replace("6","",str_replace("7","",str_replace("8","",str_replace("9","",trim($to))))))))))) == "")) { --- > if (strpos($to, "@") !== false) { 133c133 < if (strpos($to, "@") !== false) { mail($to, $subject, $body); } --- > mail($to, $subject, $body); 138c138 < echo "