Bug #10850: imap_uid() does not produce an Unique ID Number from POP Servers

From: Date: Mon, 14 May 2001 13:38:37 +0000
Subject: Bug #10850: imap_uid() does not produce an Unique ID Number from POP Servers
Groups: php.dev 
Request: Send a blank email to php-dev+get-55161@lists.php.net to get a copy of this message
From: mattias.segerdahl@commentor.se Operating system: linux PHP version: 4.0.5 PHP Bug Type: IMAP related Bug description: imap_uid() does not produce an Unique ID Number from POP Servers 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"; } -- Edit Bug report at: http://bugs.php.net/?id=10850&edit=1

« previous php.dev (#55161) next »