Re: email parser?

new topic     » goto parent     » topic index » view thread      » older message » newer message

Salix wrote:
> 
> Hello,
> 
> Does anybody have a freely available email message parser include file? 
> 
> Kind regards,
> 
> Salix

What exactly are your trying to parse out?  For the MIME headers, each 
entry is on a separate line.  You can use x = find(':',mime_line) to split 
them into key/value pairs.  Or if you're looking for a specific value, you
can use x = match("What I\'m looking for",message).  Because each email is
so different from any other, and the processing needs are so different
(are you writing a client, a spam filter, or a delivery agent?), the
parsing requirements are going to depend a lot on what your ultimate goal is.
I don't think you're going to find a generic MIME parsing library in any
language; but I'd be happy to answer any questions you have as you write
one for your particular application.

Mike Sabal

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu