V
Vijay
hi all,
I am using javamail to fetch messages from a pop3 server. I open my
session in read-write mode as I delete the messages when I close the
session.
Is it possible to make sure that when I am fetching a message from the
server, another similar copy of my same program would not be able to
access the Inbox?
I want that any other code(which tries to open in read-write mode)
should wait while I have a session open in read-write mode with the
pop3 server.
Thanks for any help...
I am using javamail to fetch messages from a pop3 server. I open my
session in read-write mode as I delete the messages when I close the
session.
Is it possible to make sure that when I am fetching a message from the
server, another similar copy of my same program would not be able to
access the Inbox?
I want that any other code(which tries to open in read-write mode)
should wait while I have a session open in read-write mode with the
pop3 server.
Thanks for any help...