Ver Mensaje Individual
  #5 (permalink)  
Antiguo 15/05/2007, 23:15
Avatar de Panino5001
Panino5001
Me alejo de Omelas
 
Fecha de Ingreso: mayo-2004
Ubicación: -34.637167,-58.462984
Mensajes: 5.148
Antigüedad: 19 años, 10 meses
Puntos: 834
Re: No me respeta el formato

A ver, si ponemos cabeceras para que el mail tenga formato html ($headers .= "Content-type: text/html; charset=iso-8859-1\r\n";), los saltos de línea no deben definirse ni como \n, ni como \r ni como \r\n, porque los mismos no tienen nada que ver con html. Para html debe usarse <br> o, mejor aún, <br />.
En cuanto al from, sale mal porque justamente, el from debe definirse también dentro de los headers.
Fijate si esto te ayuda a definir mejor todo tu formulario: http://www.disegnocentell.com.ar/new...los.php?id=123
y este otro para html:
http://www.disegnocentell.com.ar/new...los.php?id=119