|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-05-14 13:19 UTC] vlad@php.net
[2001-05-15 01:50 UTC] mattias dot segerdahl at commentor dot se
[2001-05-15 13:02 UTC] sniper@php.net
[2001-05-15 13:02 UTC] sniper@php.net
[2001-07-07 23:44 UTC] jimw@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 09:00:01 2025 UTC |
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"; }