note 29529 rejected from function.imap-bodystruct by jsheets

From: Date: Sun, 16 Feb 2003 18:26:22 +0000
Subject: note 29529 rejected from function.imap-bodystruct by jsheets
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-44062@lists.php.net to get a copy of this message
I've found a bug in the fetch_boystruct function. When I am calling it with the argument 0 as section My apache server hangs up!! I know this function is still experimental but this should be fixed fast?! //connect to a host $mbox = imap_open("{".$this->parent->hostname."/".$this- >parent->hosttype.":110}INBOX", $this->parent->mail_nick, $this->parent->mail_pw); //read mail... $body = imap_body($mbox,$id,FT_PEEK); $head = imap_headerinfo($mbox,$id,80,80); $struct = imap_fetchstructure($mbox,$id); $bstruct = imap_bodystruct($mbox,$id,0); //this kills apache //under windows as well as under linux!!! Regards valen16 http://www.binary-pulse.org

« previous php.notes (#44062) next »