aspose file tools*
The moose likes Other JSE/JEE APIs and the fly likes Read emails from Microsoft Outlook Using Java Mail Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Read emails from Microsoft Outlook Using Java Mail" Watch "Read emails from Microsoft Outlook Using Java Mail" New topic
Author

Read emails from Microsoft Outlook Using Java Mail

Nila dhan
Ranch Hand

Joined: Sep 15, 2005
Posts: 160
Hi everyone,

I wish to read emails and its attachment recieved on Microsoft oulook using Java Mail. Is there any way to do this?

Thanks in advance.
[ December 24, 2008: Message edited by: Nila dhan ]
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42264
    
  64
This sounds like a familiar question; you can use the "Search" at the top of the page to find the previous discussions.


Ping & DNS - my free Android networking tools app
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19718
    
  20

First thing you need to find out is where your Outlook gets your emails from. Is it an Exchange server? Does it uses IMAP, or POP3?


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Nila dhan
Ranch Hand

Joined: Sep 15, 2005
Posts: 160
It is an exchange server. I am not sure of the protocol that the server is using, but in code, I am using IMAP. is there any way to find out what protocol the server is using?

When I try to connect to it, I get the exception ,

[ December 24, 2008: Message edited by: Nila dhan ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Read emails from Microsoft Outlook Using Java Mail