$value){ $template = str_replace("post_" . $name, $value, $template); } $template = str_replace("webpage", $direccionSitio, $template); $template = str_replace("country", $country, $template); // HEADERS DEL MAIL Y ENVIO $subject = "Nuevo Contacto en Ingles desde " . $nombreSitio; $headers = "From: " . $nombreDominio . " <" . $_POST['email'] . ">\n"; $headers .= "X-Sender: <" . $paraEmail . ">\n"; $headers .= "X-Mailer: " . $nombreDominio . "\n"; $headers .= "X-Priority: 1\n"; $headers .= "Return-Path: <" . $paraEmail . ">\n"; $headers .= "Content-Type: text/html; charset=iso-8859-1\r\n"; $boolVar = mail($paraEmail, $subject, $template, $headers); header("location: " . $_SERVER['PHP_SELF'] . "?sent=success"); exit; } } } ?>
Contact Us
|
|
||||||||||||||||||||||||||||||||||||