Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #39175
| From | Eric Sosman <esosman@comcast-dot-net.invalid> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Some javax.mail clarification, please? |
| Date | 2019-11-06 11:00 -0500 |
| Organization | A noiseless patient Spider |
| Message-ID | <qpuqme$h5t$1@dont-email.me> (permalink) |
| References | <qpqidp$lpu$1@dont-email.me> |
On 11/4/2019 8:14 PM, Martin Gregorie wrote:
> [...]
> I've just started POP3 testing and have run into a problem.
> [...]
> So, my question, should javax.mail.Folder.open() open an empty folder
> successfully or not? The documentation gives no clue about it.
(Piping up not because I know anything, but because I haven't
seen any other responses yet ...)
My understanding of POP is that it has no notion of "folders"
at all, but instead throws all the messages into one big bag and
tags them with various attributes. There really wouldn't be an
"empty folder" as such, just a lack of any messages bearing the
tag that simulates folder membership. What does that mean for
JavaMail? Sorry: I have no idea.
Any chance you could use IMAP instead?
(Bear in mind that I'm writing from almost perfect ignorance
and may be perfectly mistaken. My advice may be worth less than
you're paying for it ...)
--
esosman@comcast-dot-net.invalid
Four hundred forty-one days to go.
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Some javax.mail clarification, please? Martin Gregorie <martin@mydomain.invalid> - 2019-11-05 01:14 +0000
Re: Some javax.mail clarification, please? Eric Sosman <esosman@comcast-dot-net.invalid> - 2019-11-06 11:00 -0500
Re: Some javax.mail clarification, please? Martin Gregorie <martin@mydomain.invalid> - 2019-11-06 20:07 +0000
csiph-web