ID: 26104 Updated by: [EMAIL PROTECTED] Reported By: flensbak at stofanet dot dk -Status: Open +Status: Feedback Bug Type: IMAP related Operating System: Linux 2.4.20 PHP Version: 4.3.3 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip Previous Comments: ------------------------------------------------------------------------ [2003-11-03 20:02:11] flensbak at stofanet dot dk Description: ------------ Information about the server can be found at www.yfunet.dk/binfo.php Certain e-mails apparently crashes the current PHP session - nothing is sent to the client beyond that point. It seems the problem is with imap_headerinfo. At least when I disabled the first imap_headerinfo in the script the echo-statements up until the next imap_headerinfo were sent to the client. The only actual clue I have to the problem is the header from the e-mail generating the problem. It seems to me that the from-line is not as it should be. I have included the header from the email that causes the problem: Received: from [80.63.53.30] by vmail1.wannafind.dk [80.63.53.30] with SmartMax MailMax for [EMAIL PROTECTED]; Tue, 21 Oct 2003 04:31:31 +0200 Return-Path: <[EMAIL PROTECTED]> Received: FROM backup-mx.wannafind.net BY vmail1.wannafind.dk ; Tue Oct 21 04:31:30 2003 +0200 Received: from sn2.cwihosting.com (hanz.campus.pinnaclebody.com [66.216.127.33]) by backup-mx.wannafind.net (Postfix) with ESMTP id A29A92180B2 for <[EMAIL PROTECTED]>; Tue, 21 Oct 2003 04:31:07 +0200 (CEST) Received: from 62-151-155-247.tp24.ya.com ([62.151.155.247] helo=CLELAPTOP) by sn2.cwihosting.com with smtp (Exim 4.24) id 1ABmIr-0007KH-Pi for [EMAIL PROTECTED]; Mon, 20 Oct 2003 21:31:22 -0500 Date: Tue, 21 Oct 2003 04:31:20 +0100 Subject: Trade Cards Online To: [EMAIL PROTECTED] From: news from tradecardsonline.com <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] X-Mailer: PHP/4.3.1 Message-Id: <[EMAIL PROTECTED]> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sn2.cwihosting.com X-AntiAbuse: Original Domain - yfu.dk X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - tradecardsonline.com X-UM-Flags: \SEEN Reproduce code: --------------- $w_size = imap_num_msg($w_mbox); for($i = 1; $i < $w_size + 1; $i++) { // comment the next line out and all is well $w_header = imap_headerinfo($w_mbox, $i); Expected result: ---------------- Parsing rest of the file Actual result: -------------- Nothing after imap_headerinfo ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=26104&edit=1