Re: parse mime
From: Edwin Martin (e.j.martin_at_chello.nl)
Date: 10/07/04
- Previous message: Andrey Dobrov: "Re: THE SINGLETON PATTERN ?"
- In reply to: Erik Rosenbach: "Re: parse mime"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 07 Oct 2004 09:30:49 GMT
Erik Rosenbach wrote:
> Thanks Edwin for the answer, unfortunately it will not be that simple of a
> process. What I have to work with is actually about 80K records coming out
> of an Oracle database. These records (message bodies) are from an Lyris
> News group server and I am porting them into something else. One of the key
> problems with the content and the embedded mime is that I have some messages
> with multipart headers... for text, html, and for attachments. I'm not
> worried about any of the attachments, I just want to scrape the content.
> Not every message is embedded with the mime either. Some of them are plain
> text which is fine. The really problematic messages are the messages in
> which people have posted the messaged and replied to. Some of these
> messages have long trail of "original message" headers in them as well.
>
> What I would ideally like to find, is a email parser I can passed the
> message body to, and have it return to me a only the plain text body.
Ah, I see, that's a little bit more complex.
This functionality might be part of some Mail software/API.
Maybe you can find a solution here:
http://java.sun.com/products/javamail/Third_Party.html
Edwin Martin.
-- http://www.bitstorm.org/
- Previous message: Andrey Dobrov: "Re: THE SINGLETON PATTERN ?"
- In reply to: Erik Rosenbach: "Re: parse mime"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|