PHP 4.0 Bug #6823 Updated: $structure->ifid == 1, but ->id is empty
| From: | sniper@php.net | Date: | Tue, 17 Oct 2000 16:02:38 +0000 |
| Subject: | PHP 4.0 Bug #6823 Updated: $structure->ifid == 1, but ->id is empty | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-35272@lists.php.net to get a copy of this message | ||
ID: 6823
Updated by: sniper
Reported By: e@ik.nu
Status: Closed
Bug Type: IMAP related
Assigned To:
Comments:
Works for me just fine. Try this:
$structure = imap_fetchstructure($stream, $msg_number);
print "id is '" . htmlspecialchars($structure->id)."<br>\n";
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2000-09-20 23:22:17] e@ik.nu
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/
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=6823