[prev in list] [next in list] [prev in thread] [next in thread]
List: james-dev
Subject: POP3 - leave copy of message on server
From: Michael Valenty <mike () valenty ! com>
Date: 2007-05-30 18:37:19
Message-ID: 10879931.post () talk ! nabble ! com
[Download RAW message or body]
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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic