in reply to Help w/ approach using Net::Pop3
you can map%msgnum = reverse %uidl;
old message number -> uidl -> new message numberor, in Perl:
$new_msgnum = $msgnum2{$uidl1{$msgnum}};
As I currently don't have a pop3 mailbox available for testing purposes, I can't really test it and the code is just pseudocode, just giving a general outline, and not real working code.
But what I don't get... as long as the connection isn't closed, the messages aren't renumbered, or are they? That's how I remember it.
|
|---|