This content has been marked as final. Show 6 replies
First of all, let me say that I appreciated your reply.
The server is definitively not very common. The name is ExpressoLivre, it is based on E-GroupWare.
I would agree with you that it is a bug in the server. But it's hard to say that about the server because the Thunderbird, for example, read this e-mail.
I still agree that the server may has bug to specifically respond this particular e-mail to the JavaMail's request message, once the Thunderbird requests this e-mail with a different request message (Actually two messages).
What I did so far, is to set a short timeout to the socket (cause I'm reading it through a LAN) and expecting a FolderClosedException caused by the timeout.
As I cannot read this e-mail at all, even the subject, I unfortunately have to ignore this e-mail and proceed in the next ones.
To, in fact, read this e-mail using JavaMail, I could get any hints in the web so far.
Any thoughts will help.
When I wrote that I couldn't get any hint to make it work, I also considered the hint you gave me. Which I tried and unfortunately, to my case, didn't work.
I did appreciate your help anyway.
I think guimbal2 is probably right, there is no way to read it, due to the bug mentioned by bshannon.
But ok. I already told the customer that his mail server needs a fix and I escaped the problematic e-mails in my program.
Thank you guys !