This content has been marked as final. Show 2 replies
I need more detail on what you're seeing.
Are you seeing a part of type "message/rfc822"?
A message part might not have a file name, so don't depend on that.
You might want to try the msgshow.java demo program included with JavaMail.
You can use it to dump out the structure and the content of your message, and
you can read the source code to find out how to handle a message/rfc822 attachment.