Posted: November 14, 2012 12:45 by jessejames
I'm using JavaMail 1.4.5 to access a pop3 server. The server I'm accessing does support the pop3 UIDL command but the method POP3Folder#getUID does return null:
On other servers it works fine.
I've narrowed the problem to the following: If the server does not list UIDL capability in the response to CAPA before authentication, POP3Folder will fail to retreive the message IDs. My test server does list the UIDL capability but only after a successful login but POP3Folder will not list the UIDLs. According to the RFC there is no harm in listing different capabilities in TRANSACTION and AUTHORIZATION state
Is this a bug in JavaMail ?