OwlCyberSecurity - MANAGER
Edit File: email.php
<?php $captcha = isset( $_POST['g-recaptcha-response'] ) ? $_POST['g-recaptcha-response'] : ''; if (!$captcha) { header('Location: https://www.smallsoft.com.ar/Error-Envio.html'); } $secret = '6Ld_n2gdAAAAADTo6BVbj3hqJufm945-mH8D7VpD'; $response = json_decode(file_get_contents("https://www.google.com/recaptcha/api/siteverify?secret=".$secret."&response=".$captcha."&remoteip=".$_SERVER['REMOTE_ADDR']), true); if ($response['success'] === true) { // Aqui envĂas el correo del formulario etc //GUARDAMOS LOS VALORES QUE LLEGAN EN VARIABLES $nombre = @trim(stripslashes($_POST['nombre'])); $telefono = (isset($_POST["telefono"])?trim($_POST["telefono"]):""); $email = (isset($_POST["email"])?@trim(stripslashes($_POST['email'])):""); $asunto = @trim(stripslashes($_POST['asunto'])); $consulta = @trim(stripslashes($_POST['consulta'])); //CREAMOS EL CUERPO DEL MAIL $cuerpo = " Datos del Cliente: Nombre:$nombre Email: $email Telefono:$telefono Asunto:$asunto Consulta:$consulta "; /*$cuerpo.='La imagen <img src="http://scrapetv.com/News/News%20Pages/Everyone%20Else/images-2/spaghetti.jpg" >';*/ $header="From: fmollo@smallsoft.com.ar\r\n"; "Reply-To: " . $email . "\r\n"; "Content-type:text/html\r\n"; //echo $cuerpo; //"From: direccion@email.dom\r\nContent-type: text/html\r\n"; mail('fmollo@smallsoft.com.ar','Contacto SmallSoft',$cuerpo,$header); mail($email,'Muchas gracias por su consulta - SmallSoft','Muchas gracias por su consulta, le responderemos a la brevedad. Contacto Directo: Servicio al Cliente Telefono: +54 9 351 3015777 Email: fmollo@smallsoft.com.ar',$header); header('Location: https://www.smallsoft.com.ar/Contacto.html'); } else { header('Location: https://www.smallsoft.com.ar/Error-Envio.html'); } exit; ?>