D
Daniel Albisser
Hi @ll,
I was wondering why I lose the connection to the mail store while retrieving information from it
without
calling the method store.close()! At the end I found out that the method folder.close(boolean) also
close the store!
Following you see the debug log of the JavaMail API:
I really have to keep the connection alive to the server to get all messages at once from the mail
store. But after closing the folder my client is disconnected (
From my point of view it is not very correct that the API close the connection to the store in the
background
that my program has implicity opened before! I expect that the connection is alive as long I
implicity call
the method store.close()!
Is there a workaround or a patch that the store won't be closed by calling the method
folder.close(boolean)???
Thanks for helping!
Greetz,
Dan
I was wondering why I lose the connection to the mail store while retrieving information from it
without
calling the method store.close()! At the end I found out that the method folder.close(boolean) also
close the store!
Following you see the debug log of the JavaMail API:
C: QUIT
S: +OK POP3 server closing connection
I really have to keep the connection alive to the server to get all messages at once from the mail
store. But after closing the folder my client is disconnected (
From my point of view it is not very correct that the API close the connection to the store in the
background
that my program has implicity opened before! I expect that the connection is alive as long I
implicity call
the method store.close()!
Is there a workaround or a patch that the store won't be closed by calling the method
folder.close(boolean)???
Thanks for helping!
Greetz,
Dan