aspose file tools*
The moose likes Other JSE/JEE APIs and the fly likes Reading email messages Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Reading email messages" Watch "Reading email messages" New topic
Author

Reading email messages

Raj Kumar Bindal
Ranch Hand

Joined: Apr 15, 2006
Posts: 417
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:

Raj Kumar Bindal
Ranch Hand

Joined: Apr 15, 2006
Posts: 417
Does any body has any comments on the above post?
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19557
    
  16

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.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Raj Kumar Bindal
Ranch Hand

Joined: Apr 15, 2006
Posts: 417
I do not have IMAP configurations as well. Is there any other way to read email messages?
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19557
    
  16

I suggest you talk to your system administrator, because without both POP3 and IMAP it's very difficult to get access to an Exchange mailbox for free.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Reading email messages
 
Similar Threads
Unable to get the list of folders in hotmail using JavaMail
Reading Java Mail
Java Mail listener not being invoked
Mark Mail as SEEN
Matching mail message with UUID