POP3 :: mixed puidl ( resource connection [, integer message ] )
Return ARRAY if has been successfully sent, FALSE if not. Send "UIDL" POP3 command. Get a unique-id listing for one or all messages. Notice: the ARRAY result contain only integer values. integer message => string message-id. Example:

// connect to 'pop.hostname.tld'
$c = POP3::Connect('pop.hostname.tld', 'username', 'password') or die(print_r($_RESULT));

// get the list of message-id's
$l = POP3::pUidl($c) or die(print_r($_RESULT));
// or, specify only the old message
// $l = POP3::pUidl($c, 1) or die(print_r($_RESULT));

// disconnect from server

// print result

See Also: POP3::pStat(), POP3::pList() [ Comments ] Last update: Thursday, September 27, 2007