Date: 05/15/01
- Next message: springsnc <email protected>: "[PHP-DEV] Bug #10883: conflict between PHP ISAPI and asp.dll"
- Previous message: sniper <email protected>: "[PHP-DEV] Bug #10850 Updated: imap_uid() does not produce an Unique ID Number from POP Servers"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 10850
Updated by: sniper
Reported By: mattias.segerdahl <email protected>
Status: Open
Old-Bug Type: IMAP related
Bug Type: Documentation problem
Operating system:
PHP Version: 4.0.5
Assigned To:
Comments:
reclassify for real now..
Previous Comments:
---------------------------------------------------------------------------
[2001-05-15 13:02:29] sniper <email protected>
Reopened as documentation problem as this is at least the second time this has been reported as bug.
>From Mark Crispin (author of c-client?)
"POP3 UIDs are not supported.
This is a permanent restriction."
--Jani
---------------------------------------------------------------------------
[2001-05-15 01:50:05] mattias.segerdahl <email protected>
As far as I can see,
The following text for the manual says that there will be unique numbers, not numbers that change over time, and the only unique numbers that are available for a message is the UIDL number from the server,
>From the php manual:
This function returns the UID for the given message sequence number. An UID is an unique identifier that will not change over time while a message sequence number may change whenever the content of the mailbox changes. This function is the inverse of imap_msgno().
In other words, an UID is not a seq number that starts with 1, goes on with 2 3 4 5 6 etc. etc. and then starts all over when the mailbox is empty...
---------------------------------------------------------------------------
[2001-05-14 13:19:37] vlad <email protected>
uhhh... no, it shouldn't. Those are not UID's.
---------------------------------------------------------------------------
[2001-05-14 09:38:37] mattias.segerdahl <email protected>
The following code should echo out the Unique ID's generated by UIDL on the IMAP/POP Server, but echo's out a sequencial number starting with 1 instead...
It should probably produce ID's like, 3afffb5300000001, 3afffb5300000002, etc. etc.
$mbox = imap_open ("{your.imap.host:143}", "username", "password");
$headers = imap_headers ($mbox);
if ($headers == true) {
while (list ($key,$val) = each ($headers)) {
echo imap_uid($mbox, $key);
}
} else {
echo "No messages in inbox";
}
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10850&edit=2
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: springsnc <email protected>: "[PHP-DEV] Bug #10883: conflict between PHP ISAPI and asp.dll"
- Previous message: sniper <email protected>: "[PHP-DEV] Bug #10850 Updated: imap_uid() does not produce an Unique ID Number from POP Servers"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

