D
decroux
Hello,
I am using the javamail api to connect to my mail server (with the imap
protocol).
I can connect correctly.
My problem is this one : if I have a network disconnection while I am
connecting to the imap server, my program exit with the code -1. How
can I avoid this and catch an exception to try to reconnect instead of
this (exit code)
Thanks a lot,
Christophe.
I am using the javamail api to connect to my mail server (with the imap
protocol).
I can connect correctly.
My problem is this one : if I have a network disconnection while I am
connecting to the imap server, my program exit with the code -1. How
can I avoid this and catch an exception to try to reconnect instead of
this (exit code)
Thanks a lot,
Christophe.