From:             [EMAIL PROTECTED]
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:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to