PHP 4.0 Bug #6823: $structure->ifid == 1, but ->id is empty
| From: | e at ik dot nu | Date: | Thu, 21 Sep 2000 03:22:17 +0000 |
| Subject: | PHP 4.0 Bug #6823: $structure->ifid == 1, but ->id is empty | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-33508@lists.php.net to get a copy of this message | ||
From: e@ik.nu
Operating system: FreeBSD 4.1
PHP version: 4.0.2
PHP Bug Type: IMAP related
Bug description: $structure->ifid == 1, but ->id is empty
When executing the following code on a message subpart known to have a Content-ID
$structure = imap_fetchstructure($stream, $msg_number);
print "id is '" . $structure->id . "', while ifid is " .
$structure->ifid . ".<br>\n";
This is returned
id is '', while ifid is 1.
The remaining data in $structure is correct. I can get the content of this part without a problem.
This is the first part of the message-part:
--------------10B0FACE3809AA159BDD27F9
Content-Type: image/jpeg
Content-ID: <part1.39C8A16A.F951EDFD@ilse.nl>
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename="/tmp/nsmail39C8A16A4888A39.jpeg"
/9j/4AAQSkZJRgABAQEASABIAAD//gAQRWR3aW5tIGJlbGxlbmT/2wBDAAUDBAQEAwUEBAQF
BQUGBwwIBwcHBw8LCwkMEQ8SEhEPERETFhwXExQaFRERGCEYGh0dHx8fExciJCIeJBweHx7/