Results 1 to 2 of 2
  1. #1
    new_2_java is offline Member
    Join Date
    Feb 2008
    Rep Power

    Default How to read emails from exchange server (in msg format)???

    Hello all,

    I have a Java program that uses java mail API to connect to an exchange server, using POP3 protocol. By default when I use getMessage, it brings the messages in an EML format. What I'd like to do is to read email messages from the exchange server in MSG format.

    Here's the portion of the code that reads messages, and I found out that it reads them in EML format. Please advise....

    Message [] message = folder.getMessages();

    Is there a way (or possibilly other APIs) to allow me to specify the format type as MSG?

    Any help will be much appreciate.


  2. #2
    markusgross is offline Member
    Join Date
    Mar 2011
    Rep Power


    There is API to allow you to create and read .msg files in Java. Here is one such API: JMSG


Similar Threads

  1. Replies: 2
    Last Post: 06-07-2012, 09:07 PM
  2. Replies: 2
    Last Post: 03-12-2011, 12:28 AM
  3. Replies: 0
    Last Post: 11-30-2010, 09:40 AM
  4. client/server messages exchange after 5 min
    By dim_ath in forum Advanced Java
    Replies: 2
    Last Post: 01-22-2008, 08:46 AM
  5. emails thru java
    By marco in forum Java Applets
    Replies: 1
    Last Post: 08-15-2007, 11:02 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts