Ver Mensaje Individual
  #2 (permalink)  
Antiguo 28/03/2011, 05:16
tonysanrusso
 
Fecha de Ingreso: mayo-2010
Mensajes: 84
Antigüedad: 14 años
Puntos: 6
Respuesta: Problema;Envio de correo mail() sin formato

Hola golLito, el problema es que al enviar el correo en formato html a todos, algunos no podran recibirlo correctamente ya no cuentan con soporte html.
Tiene que usar un boundary para dividir el correo, si no puede llegarle en html, que le llegue en texto plano.
Algo asi:

cabecera principal
MIME-Version: 1.0\n;
Content-Type: multipart/alternativa; boundary: "SEPARATOR"\n\n

cabecera primaria:
--SEPARATOR\n
Content-Type: text/html; charset=us-ascii\n
Content-Transfer-Encoding: 8bit\n\n

codigo html

cabecera opcional:
--SEPARATOR\n
Content-Type: text/plain; charset=us-ascii\n
Content-Transfer-Encoding: 8bit\n\n

texto plano

--SEPARATOR

Puedes ver un ejemplo acá: http://www.freesoft.org/CIE/RFC/1521/18.htm
salu2