[PHP-DEV] Bug #10850 Updated: imap_uid() does not produce an Unique ID Number from POP Servers
ID: 10850 Updated by: jimw Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Documentation problem Operating System: linux PHP Version: 4.0.5 Assigned To: New Comment: added note to manual. Previous Comments: [] [] [] [] [2001-05-14 09:38:37] [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, 3afffb530001, 3afffb530002, 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=10850edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #10850 Updated: imap_uid() does not produce an Unique ID Number from POP Servers
ID: 10850 Updated by: vlad Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: IMAP related Operating system: PHP Version: 4.0.5 Assigned To: Comments: uhhh... no, it shouldn't. Those are not UID's. Previous Comments: --- [2001-05-14 09:38:37] [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, 3afffb530001, 3afffb530002, 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=10850edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]