Ver Mensaje Individual
  #2 (permalink)  
Antiguo 06/09/2009, 21:13
Avatar de mortiprogramador
mortiprogramador
Colaborador
 
Fecha de Ingreso: septiembre-2009
Ubicación: mortuoria
Mensajes: 3.805
Antigüedad: 14 años, 7 meses
Puntos: 214
Respuesta: Remover limpiar la cabecera x-php-script de la funcion mail()

Hola

Pues encontre esto


if (!sendmail_path) {
#if (defined PHP_WIN32 || defined NETWARE)
/* handle old style win smtp sending */
@@ -230,6 +267,13 @@
#endif
fprintf(sendmail, "To: %s\n", to);
fprintf(sendmail, "Subject: %s\n", subject);
+ /* Patched by Giam Teck Choon */
+ /* start add additional headers with self tweaking with reference to Steve Bennett's PHP mail() header patch
+ if (headers2 != NULL) {
+ fprintf(sendmail, "%s\n", headers2);
+ efree(headers2);
+ }
+ /* end add additional headers with self tweaking with reference to Steve Bennett's PHP mail() header patch
if (headers != NULL) {
fprintf(sendmail, "%s\n", headers);
}


Espero sirva

Saludos