Re: parse mime

From: Edwin Martin (e.j.martin_at_chello.nl)
Date: 10/04/04

  • Next message: Thierry: "Animation Flash/Powerpoint from java"
    Date: Mon, 04 Oct 2004 08:50:54 GMT
    
    

    Erik Rosenbach wrote:
    > I have a question about how to parse out mime from a message. I have email
    > messages that are stored in a database table and these messages have mime
    > headers embedded within them. How can I parse out this mime content and
    > retrieve only the text messages?

    You mean you want to get rid of the header of the message?

    The body of the e-mail message is the text after the first blank line.

    That's easy to program.

    Edwin Martin.

    -- 
    http://www.bitstorm.org/
    

  • Next message: Thierry: "Animation Flash/Powerpoint from java"

    Relevant Pages

    • Re: good email parser ??
      ... parse multipart and mime and base64, with all the varieties of email ... to find a email which can't parse. ... tried the below code and figured the skeleton would report the base64 ... image attachments in a MIME message, ...
      (comp.lang.perl.misc)
    • Re: good email parser ??
      ... parse multipart and mime and base64, with all the varieties of email ... to find a email which can't parse. ... tried the below code and figured the skeleton would report the base64 ... image attachments in a MIME message, ...
      (comp.lang.perl.misc)
    • Re: tcllib mime package: reading from stdin
      ... >> AFAIK you have to read the complete message from stdin before the mime ... >> package is able to parse it. ...
      (comp.lang.tcl)
    • Re: How to get image file from .mht file and save it as a image fi
      ... Although you'll have to parse the .mht files yourself. ... Google "MIME" and ... "Base64" for more information. ...
      (microsoft.public.inetsdk.programming.webbrowser_ctl)