Bug #17801 Updated: mail() with more than 4012 byte crashes

From: Date: Mon, 17 Jun 2002 15:06:04 +0000
Subject: Bug #17801 Updated: mail() with more than 4012 byte crashes
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-10876@lists.php.net to get a copy of this message
ID: 17801 Updated by: edink@php.net Reported By: gabinunde@yahoo.de -Status: Open +Status: Feedback Bug Type: Mail related Operating System: W98, NT PHP Version: 4.2.1 New Comment: Several mail() problems have been fixed in the latest CVS version of PHP. Could you please try the latest non stable snapshot from http://snaps.php.net/win32/ Previous Comments: ------------------------------------------------------------------------ [2002-06-17 10:52:38] gabinunde@yahoo.de On W98 and NT (Apache 2.0.35, PHP(as CGI) 4.1.1 and 4.2.1 tested) there is a problem sending multipart-mails: mail($to,$subject,"",$header); $header has been created like at http://phpwizard.net/resources/phpMisc/scripts/pretty/mail.php3 Until the lenght of $header is <= 4012 byte everything is working fine. Obove that limit PHP.EXE crashes (drwtsn32.log) and Apache reports: "Premature end of script headers...". Thanks Gabi ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17801&edit=1

« previous php.bugs (#10876) next »