Ver Mensaje Individual
  #8 (permalink)  
Antiguo 06/01/2010, 16:59
josesin20
 
Fecha de Ingreso: enero-2010
Mensajes: 3
Antigüedad: 14 años, 4 meses
Puntos: 0
Respuesta: Funcion Mail y yahoo

ak esta el codigo lo puso mi amigo ya q el lo hostea


<?

if ($_POST['boton'] != null) {
$de = "From: ".$_POST['de'];
$para = $_POST['para'];
$asunto = $_POST['asunto'];
$mensaje = $_POST['mensaje'];
$cabecera = "\r\nContent-type: text/html";

mail($para, $asunto, $mensaje, $de.$cabecera);

}

?>


<form method=post action='<? echo $_SERVER['PHP_SELF'] ?>'>
De: <input type=text name=de><br>
Para: <input type=text name=para><br>
Asunto:<input type=text name=asunto><br>
Mensaje: <textarea cols=50 rows=20 name=mensaje></textarea><br>
<input type=submit name=boton value=Enviar>
</form>

Alguien sabe alguna solucion y porq con yahoo pasa esto (probe en hotmail y llegan bien)