![]() CONTACT DISTRIBUTORS: Voulez vous distribuier notre produits? |
|
|
if (isset($_POST['action'])) { $dest = "aplitex@aplitexsl.com"; $head = "From: ".$_POST['email']."\r\n"; // $head.= "To: joan@dortoka.com\r\n"; // Ahora creamos el cuerpo del mensaje $msg.= "Nom: ".$_POST['nombre']."\n"; $msg.= "Courriel: ".$_POST['email']."\n"; $msg.= "Enterprise: ".$_POST['empresa']."\n"; $msg.= "Fonction: ".$_POST['cargo']."\n"; $msg.= "Téléphone: ".$_POST['telefono']."\n"; $msg.= "Message: ".$_POST['mensaje']."\n"; // Finalmente enviamos el mensaje if (mail($dest, "Formulario Web Aplitexsl.com", $msg, $head)) { ?> $aviso = "Formulario enviado correctamente."; } else { ?> $aviso = "Error al enviar el Formulario."; } } ?>