MIME text/xml via Java

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • saurabhnsharma
    New Member
    • Oct 2008
    • 1

    #1

    MIME text/xml via Java

    I am having problems in displaying the xml text in the email screen, the mime type i have used is text/xml, JAVA is making it as an attachment instead of showing it inline, is there a way to get the text as inline. I have tried the text/html MIME and this works fine for HTMLs and even for XMLs however since text/xml is a valid MIME type, i wanted to know the reason why it is making it as an email attachment.

    I am using the MimeBodyPart.se tDataHandler(Da taSource) function to set the type.
  • N002213F
    New Member
    • Sep 2007
    • 38

    #2
    Its most likely an issue with your email client. try having a look at; http://java.sun.com/products/javamai...tml#readattach

    Comment

    Working...