Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Read emails from Microsoft Outlook Using Java Mail

 
Nila dhan
Ranch Hand
Posts: 161
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This sounds like a familiar question; you can use the "Search" at the top of the page to find the previous discussions.
 
Rob Spoor
Sheriff
Pie
Posts: 20550
57
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Nila dhan
Ranch Hand
Posts: 161
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic