Ver Mensaje Individual
  #2 (permalink)  
Antiguo 27/07/2012, 06:40
sgomez
 
Fecha de Ingreso: julio-2012
Ubicación: Girona
Mensajes: 63
Antigüedad: 11 años, 9 meses
Puntos: 10
Respuesta: Solucion para codigo simple

Código PHP:
Ver original
  1. if ( mail ($mail_destinatario, $_POST['asunto'], "Nombre y apellidos : ".$_POST['name']."<br> Telefono: ".$_POST['tlfn']."<br>Asunto: ".stripcslashes ($_POST['asunto'])."n <br>Mensaje :n ".stripcslashes ($_POST['mensaje']), $headers )) echo '
pero esto te funcionará si el email que envias, está en formato html, si es formato sólo texto, deberias poner:
Código PHP:
Ver original
  1. if ( mail ($mail_destinatario, $_POST['asunto'], "Nombre y apellidos : ".$_POST['name'].chr(13).chr(10)." Telefono: ".$_POST['tlfn'].chr(13).chr(10)."Asunto: ".stripcslashes ($_POST['asunto']).

saludos
__________________
Por favor utilizad HIGHLIGHTS en los códigos insertados para que sean más legibles