formulario
Código HTML:
Ver original
<form action="upload.php" method="post" enctype="multipart/form-data" target="upload_window"> ...
upload.php
Código PHP:
<?php
$name=$_POST["name"];
$email=$_POST["email"];
$cuestion = "Aclaración";
$namesender = "Atención a clientes";
$mailsender = "[email protected]";
$carboncopy = "[email protected]";
$body = "Nombre del usuario: " . $name;
mail($email,$cuestion,$body,"MIME-Version: 1.0\nContent-type: text/html; charset=UTF-8\nFrom: ".$namesender."<" . $mailsender . ">\nBcc:".$carboncopy);
?>