cancel
Showing results for 
Search instead for 
Did you mean: 

Create MIME Object with String

Former Member
0 Kudos

Hello,

I have a string value containing a MIME message. What I want to do now is to parse the date out of this message. My idea was to create a MIME object type first and then using some getter methods to parse the DATE of the MIME header.

So basically the question is how I create a MIME object out of the string. Any idea on this?

Thank you very much.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi again Florian,

Maybe a glance at those pages could help you :

http://jigsaw.w3.org/Doc/Programmer/api/index.html?org/w3c/www/mime/MimeParser.html

http://docs.sun.com/source/816-6028-10/asd3j.htm#1047313

http://james.apache.org/mime4j/apidocs/index.html?org/apache/james/mime4j/parser/MimeStreamParser.ht...

Not sure those classes could be easily used and imported into XI/PI, but if you can avoid writing your own parser, that'd be great

Chris