session_start();
/* INCLUYO ARCHIVO DE CONFIGURACIÓN. */
include "includes/sitesettings_inc.php";
include "includes/functions_inc.php"; // AGREGO EL ARCHIVO DE FUNCIONES.
include "common/func_getparameter.inc";
$strSeccion = "contacto.php";
include("header.php")?>
if(GetParameter("txtNombreC") != "" && GetParameter("txtMailC") != ""){
$para = 'angel.carreira@cdogroup.com.ar';
//$para = 'leonardo.moffa@gmail.com';
$titulo = 'Contacto de cdogroup.com.ar';
// Always set content-type when sending HTML email
$headers = "MIME-Version: 1.0" . "\r\n";
$headers .= "Content-type:text/html;charset=UTF-8" . "\r\n";
// More headers
$headers .= 'From: ' . "\r\n";
$mensaje = "Nombre:" . $_REQUEST["txtNombreC"] . "
Teléfono:" . $_REQUEST["txtTelefonoC"] . "
Mail:" . $_REQUEST["txtMailC"] . "
Comentario:" . $_REQUEST["txtComentarioC"];
mail($para, $titulo, $mensaje, $headers);
echo "Mensaje enviado!!! En la brevedad nos pondremos en contacto con usted.";
}else{
?>
}?>
include("footer.php")?>