Ver Mensaje Individual
  #4 (permalink)  
Antiguo 28/04/2011, 02:01
Avatar de Rafael
Rafael
Modegráfico
 
Fecha de Ingreso: marzo-2003
Mensajes: 9.028
Antigüedad: 21 años, 1 mes
Puntos: 1826
Respuesta: Problema con mail() en HTML

No repitas $cabeceras en cada renglón:
Solo declara una vez.

Código PHP:
$cabeceras "Content-type: text/html; charset=iso-8859-1 \r\n"
    
."MIME-Version: 1.0 \r\n"
    
."From: $Nombre <$Correo> \r\n"
    
."Reply-To: $Correo \r\n"
    
."Return-path: $Correo \r\n"
    
."Bcc: $OtroCorreo \r\n"
    
."X-Mailer: PhpForm"
Así me ha funcionado bien, incluso con el X-Mailer baja el rating del spam.