• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java + MS Exchange: how to retrieve msg files

 
Cesar Koot
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello friends,

I'm having trouble retrieving e-mail from an Exchange server using Java. Right now I use the Apache Slide project to set up a connection with the OWA web access part of the Exchange server, so I can retrieve EML files. But for my project I need MSG files... Is there any way to convert the EML files to MSG, or is there a way to retrieve MSG files directly from Exchange? Any help would greatly be appreciated, my project ends at the end of this month so there's quite a bit of hurry to this...

I crossposted this question on stackoverflow: http://stackoverflow.com/questions/1880922/java-ms-exchange-how-to-retrieve-msg-files

Greets!
Cesar
 
Ryan Webb
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know apache slide, but I have created email software before,
You never mentioned JavaMail API in your message.

Try JavaMail API, then please ask you Mail Server admin for SMTP, POP3 ports and then Authentication stuff.
JavaMail API provides methods to access your inbox, send messages, etc.

for eml types, I believe there's a method for that...lets you specify mime types. But I have no experience with EML's.


Hope my information helps you.
Ryan Webb
Philippines
 
mark goking
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you can easily do that using Java Mail

 
Rob Spoor
Sheriff
Pie
Posts: 20661
65
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not quite. Exchange uses its own protocol which is not open, so there are very few Java libraries for it, and even fewer non-commercial ones.

The good thing is that Exchange also supports IMAP and POP3. If these are enabled for the mail box you can simply use JavaMail; contact your system administrator if you need them enabled.
 
mark goking
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
rob. yes. if the IMAP is enabled ;)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic