migrate php code to asp classic

0

I need to migrate the php from an email to asp classic and I'm pretty lost. The code is simple but I already try it and the conversion I can not do it

php code

error_reporting(0); 
$nombre = $_POST['nombre']; 
$correo_electronico= $_POST['email']; 
$mensaje=$_POST['message']; 
$mail= $_POST['email']; 
$header .= "X-Mailer: PHP/" . phpversion() . " \r\n"; 
$header .= "Mime-Version: 1.0 \r\n"; 
$header .= "Content-Type: text/plain"; 
$add_header = "From: [email protected] \r\n"; 
//$add_header = "From: [email protected] <".$_POST[nombre].">\r\n"; 
$para = '[email protected]'; 
$asunto = 'mensaje(xxx.com)'; 
mail($para, $asunto, utf8_decode($mensaje), $add_header); 
echo "Su mensaje ha sido enviado."; 
    
asked by racxo 21.02.2018 в 10:03
source

0 answers