Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Re: Email parsing library

Reply
Thread Tools

Re: Email parsing library

 
 
Mike Schilling
Guest
Posts: n/a
 
      05-26-2009
Spud wrote:
> I need some code that will split out and recognize common things in an
> RFC 2822 email: headers, body text, quoted sections, signature blocks,
> mime attachments.
>
> It's not difficult to write a simple header/body parser, but
> recognizing when text is quoted from a previous email or text is part
> of a signature block is non-trivial. It also turns out to be
> deceptively difficult to split out email addresses on the to/from
> lines accurately. A good solution will likely involve some heuristics
> and possibly some machine learning to get decent accuracy.
>
> Does anyone know of such a library?


Mail clients know how to do these things (more or less well). Are there any
open source Java mail clients?


 
Reply With Quote
 
 
 
 
Joshua Cranmer
Guest
Posts: n/a
 
      05-27-2009
Mike Schilling wrote:
> Mail clients know how to do these things (more or less well). Are there any
> open source Java mail clients?


Well, there's Grendel:
<http://ftp.mozilla.org/pub/mozilla.org/mozilla.org/grendel/grendel-src-19990514.tar.gz>,
but (as the URI suggests), it hasn't been supported or touched in years.

--
Beware of bugs in the above code; I have only proved it correct, not
tried it. -- Donald E. Knuth
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Email parsing library Rainer Frey Java 1 06-02-2009 08:07 AM
Re: Email parsing library Roedy Green Java 1 05-27-2009 09:09 AM
[ANN] Parsing Tutorial and YARD 1.0: A C++ Parsing Framework Christopher Diggins C++ 0 07-09-2007 09:01 PM
SAX Parsing - Weird results when parsing content between tags. Naren XML 0 05-11-2004 07:25 PM
Perl expression for parsing CSV (ignoring parsing commas when in double quotes) GIMME Perl 2 02-11-2004 05:40 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57