I need to read Email messages which are in outlook using a java program. I am developing this java program but i am getting issues because pop3 server is required to read email messages. I do not have pop3 server configurations of my organisation.
Can anybody suggest me any way to read email messages other than using pop3?
Below is the code that i have developed using pop3:
Can you use IMAP as protocol instead of POP3? The ideal solution would be to use MAPI, but that's Microsoft's proprietary closed protocol, and has (as far as I know) only been implemented in commercial libraries.