OwlCyberSecurity - MANAGER
Edit File: mailer.php
<?php //GUARDAMOS LOS VALORES QUE LLEGAN EN VARIABLES $nombre = @trim(stripslashes($_POST['nombre'])); $telefono = (isset($_POST["telefono"])?trim($_POST["telefono"]):""); $email = @trim(stripslashes($_POST['email'])); $empresa = (isset($_POST["empresa"])?@trim(stripslashes($_POST['empresa'])):""); $producto = @trim(stripslashes($_POST['ElegirProducto'])); $localidad = @trim(stripslashes($_POST['localidad'])); $mensaje = @trim(stripslashes($_POST['mensaje'])); //CREAMOS EL CUERPO DEL MAIL $cuerpo = " Datos del Cliente: Nombre:$nombre Telefono:$telefono Email: $email Empresa:$empresa Producto:$producto Localidad:$localidad Mensaje:$mensaje "; /*$cuerpo.='La imagen <img src="http://scrapetv.com/News/News%20Pages/Everyone%20Else/images-2/spaghetti.jpg" >';*/ $header="From: comercial@cordobaresistencias.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('comercial@cordobaresistencias.com.ar','Contacto Landing Page Sensores de temperatura - Resistencias Córdoba',$cuerpo,$header); mail($email,'Muchas gracias por su consulta - Resistencias Córdoba','Muchas gracias por su consulta, le responderemos a la brevedad',$header); header('Location: contacto.html'); exit; ?>