This discussion is archived
2 Replies Latest reply: Mar 4, 2013 2:40 AM by 994597 RSS

Not able to read the outlook message attachment to an outlook message

994316 Newbie
Currently Being Moderated
Hi All,

I am not able to read the attachment in a mail as an outlook message using java mail.
I try to break my message in multi part and then read through them one by one.

When it comes to read in the attachment that is an outlook mail attachment itself to outlook message i.e. .msg file attached to message as an attachment the code does not recognize the .msg attachment and will return the name of the file as null.

Can someone help me out here to read the .msg attachment attached to the outlook message? I did a read through the net and found that the message is being a MIME type of message/rfc822 is the problem here. But I was not able to get over the solution though.

With Regards,
~prashant Sharma.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points