dan
dan

Reputation: 45632

Is there a good Haskell library that parses RFC2822 mail payloads?

I'm looking for a Haskell library that can parse RFC2822 email bodies to extract the content, including attachments.

The only one I see is Text.ParserCombinators.Parsec.Rfc2822 from the hsemail package, but the author warns that it is not entirely up to par.

http://hackage.haskell.org/packages/archive/hsemail/1.0/doc/html/Text-ParserCombinators-Parsec-Rfc2822.html

Upvotes: 4

Views: 818

Answers (2)

nponeccop
nponeccop

Reputation: 13677

What about Codec.MIME.Parse http://hackage.haskell.org/package/mime-0.3.3.2?

Upvotes: 2

Related Questions