problems with email sender
Posted: Mon Oct 18, 2004 9:46 pm
Code: Select all
<? php
$server_name = "xxx.cl";
$person_name = "Cliente";
$person_email ="yahoo@xxx.cl";
$header = "MIME-Version: 1.0\n";
$header .= "Content-Type: text/html; charset=iso-8859-1\n";
$header .="From: webmaster@$server_name\nReply-To: webmaster@$server_name\nX-Mailer: PHP/";
$_POST
$mensaje = "<font face='verdana' size='2'>
Nombre Contacto: $nombre <br>
Apellido Contacto: $apellido <br>
E-mail Contacto: $E-mail <br>
Telefono Contacto: $Telefono <br>
Fax Contacto: $Fax_Contacto <br>
Comuna: $Comuna <br>
Servicios: $Tipo_Servicio_General <br>
</font>
<br><br>";
mail("$person_email","Cotizacion","$mensaje","$header");
echo "Mensaje enviado.";
?>
I sent the cvars by method post, but the emails not print the cvars value