I have James 2.3.1 configured to use MyMailRepository. I am using Outlook Express as a test POP3 client and I have it set to "leave copy of message on server", however I get duplicates of messages I have already downloaded.
MyMailRepository.list() returns a list of keys based on the messageId in my system, so the keys are the same everytime. I noticed that Outlook Express invokes MyMailRepository.retreive() on every message every time. How does a pop3 client determine if it already has a message? Does it have anything to do with how I create the Mail object? Properties props = System.getProperties(); Session session = Session.getDefaultInstance(props); MimeMessage message = new MimeMessage(session, new ByteArrayInputStream(mimeText)); Mail mail = new MailImpl(message); -- View this message in context: http://www.nabble.com/POP3---leave-copy-of-message-on-server-tf3842169.html#a10879931 Sent from the James - Dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
