Bug #12954: imap_uid does not return the uid
| From: | dev0987 at yahoo dot com | Date: | Sat, 25 Aug 2001 01:48:21 +0000 |
| Subject: | Bug #12954: imap_uid does not return the uid | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-64293@lists.php.net to get a copy of this message | ||
From: dev0987@yahoo.com
Operating system: Windows NT 4, SP6
PHP version: 4.0.6
PHP Bug Type: IMAP related
Bug description: imap_uid does not return the uid
This same bug was reported in bug#7486 and its current status is "Bogus",
that's why I'm reporting this problem again.
Base on RFC1939 (Post Office Protocol - Version 3), a command UIDL can be
used to retrieve the "unique-id".
According to RFC1939:
"The unique-id of a message is an arbitrary server-determined string,
consisting of one to 70 characters in the range 0x21 to 0x7E, which
uniquely identifies a message within a maildrop and which persists across
sessions. This
persistence is required even if a session ends without
entering the UPDATE state. The server should never reuse an
unique-id in a given maildrop, for as long as the entity
using the unique-id exists."
Although UIDL is an optional command, most POP3 server do support it. In
fact most POP3 email clients expect it.
The unique id supplied by UIDL is NOT a "Message-ID" in the message
header. In fact, "Message-ID" uniqueness can not always be guranteed.
Please do check into this again, because without imap_uid() funtioning
properly, imap_ functions usefulness for POP3 are significantly limited.
--
Edit bug report at: http://bugs.php.net/?id=12954&edit=1