• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java and microsoft exchange mailbox

 
Kumar Gaurav
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Howdy Ranchers,

I have a requirement which involves reading a mailbox on microsoft exchange server. I know micrsoft exchange server supports POP3 protocol.
But i am not able to figure it out how to read message in inbox folder of the mailbox.

what all information i know is :

servername: http://<server>/exchange
username: <username>
password: <pwd>

I even checked webDav implementation but did not find anything about reading mail from mailbox.

Any pointer or sample code to achieve this would be helpful.
 
Paul Clapham
Sheriff
Posts: 21322
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The easiest way to do that is to use JavaMail.
 
Kumar Gaurav
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks paul.

can you provide pointer to sample code.
 
Maneesh Godbole
Saloon Keeper
Posts: 11096
13
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kumar Gaurav wrote:thanks paul.

can you provide pointer to sample code.

Just like any other API under the "Java" umbrella, the JavaMail site provides documentation as well as code examples and FAQ

Moving to a more appropriate forum, where JavaMail questions are usually discussed
 
Rob Spoor
Sheriff
Pie
Posts: 20610
63
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As you said, Exchange supports POP3, so you can just use any POP3 example. Forget about WebDAV.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic