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

From: Date: Mon, 17 Jun 2002 14:52:38 +0000
Subject: Bug #17801: mail() with more than 4012 byte crashes
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-10875@lists.php.net to get a copy of this message
From: gabinunde@yahoo.de Operating system: W98, NT PHP version: 4.2.1 PHP Bug Type: Mail related Bug description: mail() with more than 4012 byte crashes 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 bug report at http://bugs.php.net/?id=17801&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=17801&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=17801&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=17801&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=17801&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=17801&r=support Expected behavior: http://bugs.php.net/fix.php?id=17801&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=17801&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=17801&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=17801&r=globals

« previous php.bugs (#10875) next »