| Author |
java and microsoft exchange mailbox
|
Kumar Gaurav
Ranch Hand
Joined: Apr 08, 2008
Posts: 108
|
|
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.
|
Regards,
Gaurav
|
 |
Paul Clapham
Bartender
Joined: Oct 14, 2005
Posts: 16483
|
|
|
The easiest way to do that is to use JavaMail.
|
 |
Kumar Gaurav
Ranch Hand
Joined: Apr 08, 2008
Posts: 108
|
|
thanks paul.
can you provide pointer to sample code.
|
 |
Maneesh Godbole
Saloon Keeper
Joined: Jul 26, 2007
Posts: 8433
|
|
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
|
[Donate a pint, save a life!] [How to ask questions] [Onff-turn it on!]
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19216
|
|
|
As you said, Exchange supports POP3, so you can just use any POP3 example. Forget about WebDAV.
|
SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
|
 |
 |
|
|
subject: java and microsoft exchange mailbox
|
|
|