Bug #15821: imap_fetchbody fails on subparts

From: Date: Fri, 01 Mar 2002 20:02:34 +0000
Subject: Bug #15821: imap_fetchbody fails on subparts
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-1432@lists.php.net to get a copy of this message
From: mike@bigrideau.com Operating system: Windows 2000 SP2 PHP version: 4.1.1 PHP Bug Type: IMAP related Bug description: imap_fetchbody fails on subparts imap_fetchbody does not return anything when I try to get a subpart of a multipart message. IE a multipart/mixed message with part 1 text/plain and part 2 with type text/html. If I pass either 1.1 or 1.2 I get an empty string. Passing either 1 or 2 fetches the plain and html parts respectively. Obtaining the struct with or without FT_PREFETCHTEXT makes no difference. I suspect the problem is in the client lib. In looking at the server logs no FETCH request is issued in the 1.1 and 1.2 part cases. Mike. -- Edit bug report at http://bugs.php.net/?id=15821&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=15821&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=15821&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=15821&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=15821&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=15821&r=support Expected behavior: http://bugs.php.net/fix.php?id=15821&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=15821&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=15821&r=submittedtwice

« previous php.bugs (#1432) next »