This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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: 418
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: 418
Does any body has any comments on the above post?
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19654
    
  18

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: 418
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: 19654
    
  18

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
Matching mail message with UUID
Unable to get the list of folders in hotmail using JavaMail
Mark Mail as SEEN
Java Mail listener not being invoked
Reading Java Mail