|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-11-04 15:57 UTC] iliaa@php.net
[2003-11-17 18:19 UTC] sniper@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 13:00:02 2025 UTC |
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 XXXX@yfu.dk; Tue, 21 Oct 2003 04:31:31 +0200 Return-Path: <webmaster@tradecardsonline.com> 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 <tank@yfu.dk>; 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 tank@yfu.dk; Mon, 20 Oct 2003 21:31:22 -0500 Date: Tue, 21 Oct 2003 04:31:20 +0100 Subject: Trade Cards Online To: XXXX@yfu.dk From: news from tradecardsonline.com <webmaster@tradecardsonline.com> Reply-To: webmaster@tradecardsonline.com X-Mailer: PHP/4.3.1 Message-Id: <E1ABmIr-0007KH-Pi@sn2.cwihosting.com> 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