Bug #12315: Buffering crashes PHP when there is an error with mail function

From: Date: Mon, 23 Jul 2001 11:42:17 +0000
Subject: Bug #12315: Buffering crashes PHP when there is an error with mail function
Groups: php.dev 
Request: Send a blank email to php-dev+get-60739@lists.php.net to get a copy of this message
From: carlos.a.viana@pop3si.com Operating system: Win ME PHP version: 4.0.6 PHP Bug Type: Output Control Bug description: Buffering crashes PHP when there is an error with mail function I don't have an email server in my development computer, so when I turn output buffering on with "ob_start('ob_gzhandler')" and try to send an email with "mail (string to, string subject, string message) or die('Error message')", PHP crashes. This doesn't happen in every script ans doesn't happen at all, when I remove the "or die('Error message')" condition. -- Edit bug report at: http://bugs.php.net/?id=12315&edit=1

« previous php.dev (#60739) next »