![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
06/09/2009, 21:13
|
![Avatar de mortiprogramador](http://static.forosdelweb.com/customavatars/avatar320585_1.gif) | Colaborador | | Fecha de Ingreso: septiembre-2009 Ubicación: mortuoria
Mensajes: 3.805
Antigüedad: 15 años, 5 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 |